Clean unused code in SortShuffleWriter

Just clean unused code which have been moved into ExternalSorter.