Fix #21162 - Remove ties to notes of a removed Chord

Fix #21162 - When a chord is removed, ties to it remain behind and attach to casual notes

Fixed in RemoveElement::RemoveElement() by handling Chord's Notes tieBack

Also removes tieFor in a cleaner way.