function filterChangesForAdaptation(aIgnoredVariantIds, aChanges) {
		return aChanges.filter(function(oChange) {
			var sVariantId = getVariantReference(oChange);
			if (isSetContextChange(oChange)) {
				return false;
			}
			// Either independent or related to variant in scope
			return (!sVariantId || aIgnoredVariantIds.indexOf(sVariantId) < 0);
		});
	}
Filter all changes that are relevant to be copied for an adaptation during migration.
All non variant changes are taken over. Variant dependent changes are filtered depending on the variant
Changes for variants that will not be taken over into this adaptation will be removed
Also removes setContext changes for FLVariants
@param {array<string>} aIgnoredVariantIds - IDs of variants that are out of scope
@param {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} aChanges - Array of flex objects
@returns {sap.ui.fl.apply._internal.flexObjects.FlexObject[]} A list of changes that are relevant