Defence: an animal actually attacks the muhrim and the animal is killed to repel it—no compensation in the cited clause.
Food need: the muhrim kills game because food is urgently needed—game compensation is still due.
Both may involve difficulty, but their legal outcomes are not interchangeable.