Yahoo dodges disaster on Verizon deal — but still loses $350 million