Thousands of flights were canceled or rerouted when Pakistan shut down its airspace after shooting down Indian military plane