Marissa Mayer likely extended her life as Yahoo’s CEO by spinning off the company’s stake in Alibaba.