Handle comparisons of gep instructions that have different typed indices