EchoStar said the deal will also help resolve an FCC inquiry over its use of certain spectrum licenses, including some that were sought by Elon Musk’s SpaceX.