I'm not sure what definition of "better" would apply but I'm certain there is a non-zero number of people who would prefer to see yahoo slowly die while paying the last of its money out to workers.
I'm asking for realistic alternatives. While I appreciate the thoughtfulness of your approach, I wouldn't exactly consider that realistic.
Companies, whether it is admitted by them or not, are really for stakeholders, not just shareholders, and stakeholders includes employees; or least, wise companies will act as if that is so, even if it is not so legally on paper.
The problem is that they already sold shares on the premise of being a for-profit entity extracting values to their shareholders.
They could have become an employee-owned co-op or a non-profit entity like Wikimedia or Craigslist, but at some point they chose not to.