Remove duplicate Boltzmann grammars