A partial government shutdown is looking more likely by the weekend after Senate Democrats and eight Republicans blocked legislation to fund the Department of Homeland Security and other agencies.