Use test contexts for tool directories (#21110)
Tool integration tests repeatedly configure the same isolated tool and
executable directories on every command. Add an opt-in
`TestContext::with_tool_dirs` builder for these directories and use it
throughout the uninstall tests, preserving their existing paths,
explicit `PATH` override, and snapshots.
Co-authored-by: Zanie Blue <contact@zanie.dev>