Get rid of IndexDef, which is now completely redundant with IndexRowComposition.