It seems the advantage for the virus in making the bacteria produce enough toxin to kill a duck fifty times over is that the maggots which eat the dead duck (and carry the bacteria and virus) each pick up enough toxin to kill another duck.
See diagram on carcass-maggot botulism in the reference. (Or not if you haven't eaten breakfast yet).
[0] https://www.nwhc.usgs.gov/publications/field_manual/chapter_...
> but when they are activated and resume growth, the bacteria release several different types of potent neurotoxins that can cause the paralyzing disease botulism. The production of the neurotoxins acts as a defense mechanism for the bacteria for protection from intense heat, increased acidity, and possible fragmentation and damages.
Or it could be more like the benefit yeast gets from producing alcohol, which it resists better than most other microbes.