A group of state attorneys general are suing to block the $3.5 billion deal by Nexstar Media Group Inc. for rival Tegna Inc., which would create the largest operator of local broadcasters in the country.