The Senate voted by a majority to defeat a resolution restricting Trump's powers in the Iran war after the House previously passed it.