[OPTIQ-439] SqlValidatorUtil.uniquify() may not terminate under some conditions