space_partition: change unordered_set/map to set/map

- To allow reproducibility of the local diagonalization
  across machines.