This enables indexing in !foreach and permutation with list[permlist].
Enhancements in syntax:
- list<int> is applicable as a slice element.
- list[int,] is evaluated as not ElemType but list<ElemType> with a single element.
FIXME: I didn't apply new semantics to BitSlice.
TableGen: Prune convertInitListSlice and VarListElementInit
They were dedicated to constant version of list slice.
Depends on D147401
IIUC this is supposed to be normative and (negative) is not normative.