cue: allow cyclic references in lists
This is done by making lists considerably less efficient,
but that is for later concern. Still better, probably,
than creating a linked list.
Errors are now retained at the value level within lists.
This is okay, as validation descends into list values
as well.
Change-Id: Ifcd35d383f061dab82164d8da36f693dbea64847
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/1900
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
authored by