Resolve sym link before simplifying the path name

`vim /path/to/symlink/` would stall on my MacOS.