Ten Senate Democrats helped Republicans advance a GOP-crafted stopgap spending bill, paving the way for it to pass ahead of the midnight deadline despite concerns from scores of their colleagues.