How often does that actually come up in modern construction? We don't really do brick buildings anymore. Bricks are generally only a façade, a decoration, rather than the structure of a building. They have to look great because that is now their job. They have to fit between other decorative features and adapt to curves and non-perfect angles. Previous edge cases are now a daily norm.
I say that the robot brick machine is already common. Those trucks that pump concrete into forms are the automated brick layers. This is an important point for all robotics. It is always very hard to build a robot that can directly replace a human. The way forward is to build a robot that gets the job done using different means. The human "dishwasher" was replaced by a machine that does the same basic task but via very different means. The concrete pumping robot now creates solid walls faster than any team could ever lay bricks.
The problem must be somewhere else: setup time is too long, too many constrains or whatever. It's not that the edge cases are not handled, it's that the main case is not handled well...