Simplify Damage::resolve a bit

Replaced two for loops which computed min(...) using the MIN-Makro from config.h