This short plugin provides you with the following features:
Treat a Win as a Loss
Treat an Escape as a Loss
You just need to pick the right Game Switches on the Plugin Manager and then turn on any of those switches before the battle begins (confirmed) or as part of a Troop page (untested).