House Republicans have tentatively reached another deal to avert a partial government shutdown, as the clock ticks closer to midnight.