Orthononalize bug fixes

A few minor changes to the orthogonalize action:
1. fixes JS error when run on perfect quads
2. removes empty redundant points on newly created straight sections. Straighten in iD and P2 do this, so I thought I'd add it here.

Hopefully I've spelled everything right this time :)