cmd/cue: rip out cue.Instance and cue.Merge from 'cue cmd'
As can be seen by the cmd_many.txtar test just added,
we still support the scenario where 'cue cmd' is given multiple packages
by unifying all of their values together, rather than using cue.Merge.
Other than cue.Merge having been deprecated with DO NOT USE warnings
since early 2021, it seemed to have had somewhat odd semantics.
Structs in CUE are open by default, so unifying {} with {b: "b"}
should result in {b: "b"} without any issue, as we do now.
The merge semantics, which aren't documented and deprecated, disagree.
However, the passing test mimicking what a few users have reported using
still passes just as it did before, and the new semantics are now
well understood - if not documented as such yet - so this seems fine.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ia3195643612f629ac61a36f8469945ee345e0719
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193718
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>