Free All Train Edges When Done Sorting

So we can pack them together more tightly.