Defer redirecting cell outputs when merging cells in `opt_merge` untill after we've done a full pass over the cells.