The legislation, which would fund the government through September, would significantly increase federal spending.