The U.S. government is on the brink of a partial shutdown as Senate Democrats block a House-passed funding bill over Department of Homeland Security provisions.