STATE_polygon_remove_redundant_points
remove points that are on the same line return the number of points that where removed a negative number means that an error occurred