[repacker] use possibly updated root idx after isolate_subgraph.

isolate_subgraph can change the root indices in some cases. So operations after the isolation need to use the roots from the output of isolate_subgraph.
1 file changed