fix compiler crash during type inference of indexed ctuples