Luna's fundamental lemma for diagonalizable groups