Fix update of L-BFGS history buffers after they become full.
Fix update of L-BFGS history buffers after they become full.

Previously there was an assignment dimension mismatch in the
history update; thus, over time, the history would contain
(only) replicated copies of the (max_num_corrections_ -1)-th
update and the most recent update.

Change-Id: I26203acf689686d41a5029c675ebbe001fe05d90

jmwalls/ceres-solver-fork,ikoruk/ceres-solver,ysonggit/ceres-solver,entylop/ceres-solver,DougFirErickson/ceres-solver,DougFirErickson/ceres-solver,stonier/ceres_solver,kartikkumar/ceres-solver,jmwalls/ceres-solver-fork,kartikkumar/ceres-solver,kartikkumar/ceres-solver,entylop/ceres-solver,jmwalls/ceres-solver-fork,stonier/ceres_solver,timfel/ceres-bin,entylop/ceres-solver,whuaegeanse/ceres-solver,ikoruk/ceres-solver,ikoruk/ceres-solver,ikoruk/ceres-solver,ysonggit/ceres-solver,DougFirErickson/ceres-solver,timfel/ceres-bin,ysonggit/ceres-solver,timfel/ceres-bin,timfel/ceres-bin,whuaegeanse/ceres-solver,jmwalls/ceres-solver-fork,ysonggit/ceres-solver,entylop/ceres-solver,stonier/ceres_solver,kartikkumar/ceres-solver,whuaegeanse/ceres-solver,DougFirErickson/ceres-solver,ikoruk/ceres-solver,whuaegeanse/ceres-solver,stonier/ceres_solver