Dicke phase transition without total spin conservation