Bug fix in the adjusted rand score

I've fixed a bug in metrics.adjusted_rand_score. This is the first time I contribute to scikit-learn, let me know if I didn't follow the process.

The bug is addressing this issue: https://github.com/scikit-learn/scikit-learn/issues/1639