The Department of Defense closed the “Correspondents’ Corridor” inside its main building, days after a judge found its new media policy unconstitutional.