Reactive scope passes for the React Compiler.
Converts the HIR CFG into a tree-structured ReactiveFunction and runs
scope-related transformation passes (pruning, merging, renaming, etc.).
Corresponds to src/ReactiveScopes/ in the TypeScript compiler.