Top US Counterterrorism Chief Quits; Says Iran War Was Unnecessary and Misguided