Schumer and McConnell reach apparent deal that may end shutdown