internal/core/adt: merge validate package with adt
The adt package will need to use it, which will
cause a cycle. We therefore merge the package.
This is part of the effort to allow == for all CUE
values.
Issue #2583
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: Id8a32fc9ae64f7855358d582de438d17a5c13e57
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1217006
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>