Fixed bug in bisection line search where it wouldn't find the minimum with a lower value than the starting location.

If it happened that the gradient was still negative, the function value increased, and the minimum was already bounded, this would fail to find a minimum with a lower function value