BUG always do cross-validation in GridSearchCV

Optimization for special case of one point in the grid caused cross
validation to be skipped entirely. Fixes #1782.