They could have, and should have, simply stated that she will be gone in a month and laid out at the same time what the handover process would be, given her a generous severance conditional on not stating publicly that she was actually fired until x months or years have passed (by which time nobody will give a shit anymore), and carried on. If they had done this, none of this backlash would have happened at all.