“The president's counterterrorism chief resigned, stating that Iran posed no imminent threat to the United States.”