k-means: add n_init argument check

Attempts to address #3842 .
Indeed. Sorry for the noise.