geometry.index: handled floating point types comparison and unsigned types difference calculation in linear/redistribute_elements.