On Day 40 of the shutdown, eight Democrats joined Republicans in advancing a government funding measure, after 14 previous votes fell short.