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

Workaround for [issue 13257](https://issues.dlang.org/show_bug.cgi?id=13257).