FIX : allow nd X for cross_val_score (was working in 0.14)

Fixes #3277.