Yahoo posts a loss as it waits for a ruling on its Alibaba spinoff | Fortune