[SciPy-Dev] tol parameter to minimize_scalar is inconsistent