Midnight shutdown all but sure but talks persist at Capitol