BinPacking.hs: Utilities improved

makeComparator, mergePair were redundant
groupList was implemented inefficiently