k-means: added n_init arg check