Tempers flared in the hours leading up to a vote on a symbolic resolution that mainly split along party lines, the culmination of three days of outrage sparked by a Trump tweetstorm that diverted attention from all other business in Washington.