Wyoming and Montana officials had sought to sue Washington, arguing the permit denial violated the U.S. Constitution’s prohibition against trade protectionism between states.