(prev loc)
Moves to the previous loc in the hierarchy, depth-first. If already at the root, returns nil.