FVertexConnectedComponents::MakeComponentMap

Map arbitrary set IDs to indices from 0 to k-1 (if there are k components)