Renamed List.foldPairs to List.foldPairwise and List.foldPairsBack to List.foldBackPairwise; this is so we use the same terminology as in the Seq.pairwise function.