Here is a most ancient and despised bug in Archicad's wall cleanup behavior.
In most cases, if two surface edges meet whose materials are the same, the line between the surfaces is eliminated.
Where three walls meet, two of the walls will often form a corner, which results in a 'strong' line that will not be removed despite the matching wall surface materials.