Democrats help to pass stopgap