The reason for minimizing casualties was the armies consisted of paid mercenaries. Mercenaries had no interest in dying in combat, so it was maneuver to get the other side into a bad position, then they capitulate.
This all changed with conscription. Now, commanders could command vast armies of conscripts who were forced to fight, and the slaughter was/is tremendous.