fix bfgs update test
Merge branch 'bugfix/issue-904-eigen-assert-bugs' of https://github.com/stan-dev/stan into bugfix/issue-904-eigen-assert-bugs