Ignore intermediate move commands in a polyline sequence