You can't blame Yahoo as-in "they are technically and legally allowed to do that".
But on the other hand, Yahoo is a falling behemoth that is trying to earn itself a new image; and doing such a stupid move can and will earn them the mark that they still "don't get it", and rightly so.