UMaterialInstance::ValidateStaticPermutationAllowed

Ensures that current parent is a valid for this material instance and if not, it resets the parent to null.