Trump and Senate Democrats reached a compromise to fund the government, but it was unclear if it would pass Congress in time to avoid a shutdown.