Fix line search for the squared loss.