Airlines work through night after global regulators told them to remedy problem before resuming flights