Congress is prepared to vote on a measure that would limit Trump’s ability to take military action after many lawmakers were outraged over a briefing by White House officials.