check FITPACK conditions in LSQUnivariateSpline

fixes #2611