optimize/functions: fix ExtendedRosenbrock for BFGS test
optimize/functions: fix ExtendedRosenbrock for BFGS test

With the fused operation, grad diverges, resulting in a non-progression
of the location.

gonum/gonum,gonum/gonum,gonum/gonum