caos: Fix construction of virtual links in resolve_pointer
caos: Fix construction of virtual links in resolve_pointer

In cases where <source>.<pointer> resolves into multiple pointers, make
sure that the resulting virtual pointer encompasses the found pointers
correctly.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb