Phase Transitions of Diversity in Stochastic Block Model Dynamics