Airlines worked through the night after global regulators told them to remedy the problem before resuming flights.