Remove IndexDef

It is now completely redundant with IndexRowComposition. The mapping is not entirely mechanical, because the IndexRowComposition is the whole row wide, whereas the IndexDef's field list was only the key columns. So, the pattern is to take the field positions for the initial subset of the row composition given by the number of key columns (not the composition's length).