Importance of historical contingency in the stereochemistry of hydratase-dehydratase enzymes.