caos: Make sure that CaosQL-based selectors have correct path root
caos: Make sure that CaosQL-based selectors have correct path root

In cases where a CaosQL expression is used to create a selector, make
sure that path metadata is correct by always walking to path root.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb