Fix and optimize removeEmptyTuplets function
Add one more test for rests/ties cleanup of drum tracks