US lawmakers vote to curb Trump’s war powers with Iran