US government shuts down after last-ditch Republican bill fails in Senate