I would sell Yahoo stock if I owned it.
I agree that this is a disaster move, a Hail Mary pass, an act of desperation.
In the mid 90's, I was at a company that mandated hotelling for all the sales staff. They were supposed to be out seeing customers and only come in once per week. They called in first to reserve a desk where their phone extension would be forwarded for the day. Their rolling file cabinet was stored in a personal locker and rolled to their assigned desk. Once per month, each department had a meeting. The quarterly meeting was nuts. All the sales people came in and there were not enough desks for them. They doubled up on desks and phones. We engineers were given tasks in the lab so our desks could be used. The strategy was effective. The sales staff tripled without the office space increasing. They got to manage their own time, and still report in person. The social interaction was there, as well as the workplace flexibility. And that was before the internet and smart phones. But it could not rescue a company with an uncompetitive product. We went out of business.
My present employer does not allow telecommuting because of security concerns and antiquated union rules. But we do have flex time. So there are reasons why an employer would need all the staff on site. But Yahoo is probably not one of them. So it sound to me that they are desperate to try something, anything, to stay alive. If this is the best they can do, I would sell their stock now.
(I in no way have any relation to any professional investing anything. This is totally my own opinion.)