Fix register lifetime for min/max in quants.

Since we backtrack in/out of the quant code, the min/max must not be
kept in registers with a lifetime of just that region of code, or they
may get scribbled over. Fixes the remaining t/qregex failure and one
of the t/p5regex failures.