DirecTV announced on Monday that it had agreed to acquire its rival Dish Network from EchoStar in a roughly $9.8 billion deal that would create one of the largest pay-TV providers in the US.