[repacker] when assigning spaces use post isolation node indices.

isolate_subgraph can result in some of the roots being duplicated and moved to new indices, so do subgraph isolation before assign roots to spaces.
1 file changed