Fix the implementation in `/app/solution.mjs`. Normalize repeated slashes and dot segments in a POSIX path without escaping above root. Preserve the exported `solve` API and run the available tests.
