It wasn't one or the other, it was both 30 million dead AND some unknown number of dogs killed that very likely didn't make a meaningful difference in the Soviet war effort. Congrats on getting down to the level of your enemy, I guess.
The real problem was that the training they did was so superficial that the dogs made more harm than good.