[OPTIQ-388] Handle semi-joins in field trimmer