The company led by Byron Allen also closed a previously announced deal to sell some of its local stations to Gray Television.