Workaround deprecation of splitter.{back,popBack} in std.algorithm.map.
Merge pull request #2415 from quickfur/issue13257

Workaround deprecation of splitter.{back,popBack} in std.algorithm.map.