An air traffic control issue caused more than 2,000 flights arriving or departing the UK to be cancelled this week.