The Pentagon instituted its new press rules in the fall, prompting a months-long legal battle over the First Amendment.