#8725-R: never simplifying the first two or last two vertices in a line

This ensure that the angles at the line start and end are the same after
simplification