Active resonator reset in the nonlinear dispersive regime of circuit QED