Senator Mitch McConnell, Republican of Kentucky and the majority leader, heading to the floor during a marathon session of votes on Wednesday. Republican leaders say they will work closely with President-elect Donald J. Trump to develop legislation to repeal and replace the health care law.