Add test for rollback trigged by second isTooBig check in withdrawal algorithm
Implement splitLastOutput