Again, I don't think that's a D&D problem, I think it's a DM problem. The fights are not properly structured.
If it's a confined dungeon, then yeah, letting them retreat means they are retreating towards reinforcements, so that's one situation where letting the mobs go might not be a great...