Fix splitting of sample mapper.
Fix splitting of sample mapper.

Was setting the instrument to 0, so was immediately consolidating back
to 1 segment. Instead sets new segment index to length of segments.

pgregory/wetracker,pgregory/wetracker