Characterization of the conformational changes of acetohydroxy acid isomeroreductase induced by the binding of Mg2+ ions, NADPH, and a competitive inhibitor.