DOC: document `maxiter` keyword to optimize.root('lm') correctly.  Closes gh-2637