A $7.5 billion impairment charge related to its Nokia acquisition crushed Microsoft’s fourth-quarter earnings.