Fix note lengths not preferring speed of prev rest

With this, output is finally consistently (I think)
shorter than the original .asm files.