Catalysis of the reactions: 4-hydroxy-4-methyl-2-oxoglutarate = 2 pyruvate, and 2-hydroxy-4-oxobutane-1,2,4-tricarboxylate = oxaloacetate + pyruvate.
gamma-methyl-gamma-hydroxy-alpha-ketoglutaric aldolase activity