Fix silhouette score n_labels

Fix such that silhouette score raises error
when n_labels is incorrect
Added number of labels for debug and regexp in test
Merge pull request #2959 from Oscarlsson/silhouette_score_label_number

[MRG+1] Silhouette score crashed if wrong number of labels