Returns whether this path equals other.
Two paths are equal when they both resolve to paths with the exact same fragments.