BUG: Optimizers broken for full_output = 0.

Closes #2118. Might make a 0.6.2 necessary, though I'd wait for any other reports of this cropping up until I have the release process automatized a little more.