The pilot diverted back to the UK around four hours into the journey