Seven Democrats and one independent voted with Republicans Sunday night to reopen the US government to end the shutdown.