Setup.java: shell out node2pid map generation to sort
This floors the maximum amount of RAM that will be used for this step, avoiding
OOM kills. By relying on GNU sort we use an industry-grade tool for this kind
of stuff, paging to disk as needed.
Closes T1950