The only reason the town want to kill all the scum is so the scum stop killing them - the town are fighting for survival. If the scum decide to stop killing the town, then the town have achieved what they need - safety from the invading force.
Therefore... it's arguable that "happily ever after" should be seen as a
town win
.