fix: preserve trailing slash during export MPA fallback (#97613)
Keeps the trailing slash when a static export falls back to a full page
load, so you land on the canonical URL instead of bouncing through a
redirect.
Fixes https://github.com/vercel/next.js/issues/97608
---------
Co-authored-by: Jude Gao <jude.gao@vercel.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>