D-malate dehydrogenase (decarboxylating)