Passengers arriving in the UK faced hours of delays - but the situation is now resolved.