[dev.typeparams] cmd/compile/internal/types2: remove disabled code related to type lists
[dev.typeparams] cmd/compile/internal/types2: remove disabled code related to type lists

Earlier (contract-based) versions of the generics design restricted the
kind of types that could be used in a type list - the current design does
not have these restrictions anymore. Remove the respective checking code.

Change-Id: Ia333f7aa8a9c31a92c08acbd5cadba3532a455b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/281546
Trust: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>
Run-TryBot: Robert Griesemer <a6752097faebf1f02d80107d77a9be009089afe3@golang.org>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Robert Findley <9179eee875d1ee628c37fb47d7e749e855ffd21f@google.com>

CAFxX/go,nawawi/go,CAFxX/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,nawawi/go,cloudflare/go,golang/go,cloudflare/go,CAFxX/go,cloudflare/go,golang/go,golang/go,golang/go,cloudflare/go,nawawi/go,golang/go,cloudflare/go,golang/go,nawawi/go,nawawi/go,golang/go,nawawi/go,cloudflare/go,CAFxX/go,nawawi/go,nawawi/go,CAFxX/go,CAFxX/go,CAFxX/go