"Tools->'simplify way' with maximum error = 1 meter."
OMG, what a disruptive function in JOSM... I would understand if it just removed excessive nodes in a straight line, but it also straightens up curves...