Critical battles loom as Congress looks to avoid crippling ‘shutdown crisis’ for next president