Return new treatment assignment based on passed one.
Source:R/rerandomize_simulation_code.R
rerandomize.RdRerandomizes treatment at the cluster level (within block, if `blockID` is given), preserving the original per-block (or overall) proportion of clusters treated.