(Clone Detection) 2d worklist split is multi-threaded

The rewrittten algorithm also does less copying and sorting
than the old one.  These changes increased performance on my machine
from about 1 hour to about 1 minute on a list of approximately
100 million function pairs split into 64 batches.