Stable lattices and the diagonal group