Right now, Svelte detaches every child of every node during teardown. It only needs to detach the top-level ones.