ENH: re-run SmoothBivariateSpline on too low work memory failures

`SmoothBivariateSpline` always disabled `lwrk2` memory in `surfit_smth`, which could lead to wrong results. This PR checks the value of the `ier` error attribute and re-runs `surfit_smth` if `ier>10`.
Fixes #1530.