test: enable basePath redirect deployment coverage (#99401)
## Summary
Re-enable `gssp-redirect-base-path` deployment coverage with Corepack so
installation uses the fixture's declared pnpm version.
A redirect with `basePath: false` lands at `/404`, outside the
application's `/docs` base path. Vercel may serve its own 404 page
there. Check the destination URL and the browser's actual HTTP 404
navigation response in every mode, while retaining the custom-page text
assertion for self-hosted modes. This follows the existing base-path
error-page tests; the other redirect assertions remain unchanged.
Follow-up to #99192.
## Verification
- All 22 tests passed locally in production Turbopack mode, both
normally and with `__NEXT_CACHE_COMPONENTS=true` and
`__NEXT_EXPERIMENTAL_CACHED_NAVIGATIONS=true`.
- Normal and cache-components deployment manifests select the suite
without excluding individual cases. Deployment execution awaits CI.
- The repository TypeScript check is blocked by the worktree's shared
`node_modules` resolving an older Next.js build in another checkout
(missing upgrade and static-config exports); it reported no errors in
the changed test.
<!-- NEXT_JS_LLM -->