Not a bug.
The 2 defending armies should theoretically kill 2*0.7=1.4 of your armies (assuming default settings). However, since you cant have half an army, the remainder is randomized.
It's all in the manual :)
http://www.warlight.net/ViewHelp.aspx?s=LuckModifier, section Remainders.