Enforce minimum value of xtol

This prevents a possible infinite loop.