Combine rests and tied notes during optimization
Failing tests for multiple consecutive rests