Senate advances bill to end 40-day government shutdown despite Democratic divisions over healthcare concerns and federal employee protections.