fix #25454: unisons should share noteheads despite duration difference

Notes in different voices can share noteheads if they have the same notehead group & type, same number of dots, same tpc, and both have stems.