cleaned up and fixed a bug in pass_right's child-shuffling phase
cleaned up and fixed a bug in pass_right's child-shuffling phase

now it finally doesn't segfault with all manor of fuzz testing

pombredanne/btree-1,pombredanne/btree-1,teepark/btree,teepark/btree