BUG: FITPACK conditions were not properly checked in LSQUnivariateSpline.

fixes #2611