I've given it some hard thought and I think there a simple test to cut out 99% of these pointless doors. For each door placed check the 4 squares immediately above/below/left/right of the door square. To be a door it must be satisfy the following condition:
Code: Select all
.
+ or .+.
.
Obviously this needs some testing, but I've been analysing the dungeon layouts and I can't see any flaws in it. It cuts out doors into nowhere and doors in diagonal junctions and doors that can be walked around anyway.