fix: close branch-owned edges when renaming an attribute on a branch (#10254)