Uniform, rapidly convergent algorithm for quantum optimal control of objectives with a positive semidefinite Hessian matrix