President Trump’s decision to strike Iran pulls him toward the kind of overseas conflict he once attacked.