Small update: I tried using Reduce, but because some of the flat surfaces are connected to non-flat surfaces, I get some bad results: Is there a plug-in or script or function that JUST reduces/combines the flat or square vertices? So I don't get this kind of bad result, where 10 non-flat edges lead to the same vertex?