Add an inspection to check the type of index, in index expressions