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.
Merge pull request #370 from mgavioli/Fix_21162_ties_left_behind

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