Armix's ability goes on the stack without a target. While that ability is resolving, you may discard a card. If you do, a second ability triggers and you pick one target to get -X/-X. This is different from abilities that say "If you do . . ." in that players may cast spells and activate abilities after you've discarded a card but before the creature gets -X/-X.