k-means: add n_init argument check

Attempts to address #3842 .
it should be in the ``k_means`` function, I think @ogrisel misread and thought it was in ``__init__``.