The Dish owner swung to a profit of $8.46 billion in the recent quarter due mainly to a big, non-cash gain.