The Pentagon made a formal referral to the Department of Justice after planning documents related to the war in Ukraine were leaked online.