[repository] when deleting relations of a deleted external entity, we should skip non-crossable relation (closes #1973680)
elses this may lead to things as described in the ticket...
# sync and restart to make sure cwuri does not appear in formssync_schema_props_perms()