Attempt to fix splitting bug #4.

There was previously a small error in the splitting code, where we
fail to find two "good" seeds and try to remove the same seed twice.
This fix should correct the problem.