Fix sygus inference for choice functions introduced at preprocess (#3500)