Senator Mitch McConnell of Kentucky, a polio survivor, was the lone Republican to join all Democrats in voting against him.