Senator John McCain at the Capitol on Thursday. After the vote, he called for a new legislative effort, with input from Democrats and Republicans.

Credit... Gabriella Demczuk for The New York Times