[Toolkit.Compiler] Simplify MaterialKey