How to make it so the whole pathway can't be blocked

How can I make my game stop the user from blocking the whole width of the pathway with weapons (block the enemy)? When you block the whole pathway, it is impossible to lose. I am using a grid. If you need me to be more specific, just let me know.
http://imageshack.us/photo/my-images/231/zombiesm.png/
As you can see in the image above, in this game, it will not let you place a weapon between the two separated weapons because then it is impossible to the enemies to get where they need to go making the game pointless.
http://imageshack.us/photo/my-images/231/zombiesm.png/
As you can see in the image above, in this game, it will not let you place a weapon between the two separated weapons because then it is impossible to the enemies to get where they need to go making the game pointless.
Comments
Thanks for you halp