Yahoo CEO Marissa Mayer faces a $10 billion decision in a few months. The pivotal moment will come when the Chinese e-commerce leader Alibaba Group completes its initial public offering of stock—an enormous deal that triggers a provision requiring Yahoo to sell about 40 percent of its stake in the