TIsCompatibleRangeIndexType

IndexType is compatible with RangeType::IndexType if they are the same or if RangeType doesn't have an index type.