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.
Merge pull request #6 from non/bug/splitting-4

Attempt to fix splitting bug #4.