Microsoft’s results weren’t as ugly as everyone feared