Optimal Clustering with Bandit Feedback