Bandit-PAM: Almost Linear Time $k$-Medoids Clustering via Multi-Armed Bandits