Returns a new path representing the parent of this path.
Note that the parent of the root path is the root path itself.