Your facts indicate a diversion of a holiday flight rather than a journey of its own.
In that case, your 'transit flight' could be a mixed purpose and whether any portion of any leg is deductible depends upon the relative importance of the facts.
If you had reached your holiday destination...