The Senate voted 51 to 48 to reject a war powers resolution that would have required President Donald Trump to end the war on Iran or seek…