Mutual regulation of lactate dehydrogenase and redox robustness