improve id compaction performance
improve id compaction performance

Just record a list of swaps, then rebuild the indexes. There is no need to swap
each node individually.

abeconnelly/vg,dnanexus-rnd/vg,ekg/vg,abeconnelly/vg,ekg/vg,ekg/vg,dnanexus-rnd/vg