Pops the first segment from this pointer, returning both the segment and a new pointer without that segment.
Return
A Pair where the first element is the popped segment string and the second element is a new KPointer with the remaining segments.
if called on the root pointer