Remove duplicate nodes

Sometimes JOSM complains about duplicate nodes.
This commit fixes that problem.