I don't get it. How are you going to go out and dig such a trench? Who would do it? If you're safe behind the wall, why would you send a ton of people out to die, to build a trench you don't need? How are the people going to get out of the trench after digging it?
Or the trench can be done on the outside of the second wall!