Evolution of cyclohexadienyl dehydratase from an ancestral solute-binding protein