Funding bill clears US Senate amid shutdown drama, House next (Updated)