The US Senate voted 48-47 to block a resolution that would have constrained President Trump’s authority to order further military strikes against Iran.