McConnell said he was optimistic the Senate would pass legislation to fix Medicare doctor reimbursements before midnight.