Qatar Airways said that all of the roughly 20,000 passengers who were on flights diverted on Monday night after Iran fired missiles towards a US military base in Qatar were rebooked on new flights within 24 hours.