The government neared completion of its case against the Army intelligence analyst blamed for the biggest leak of U.S. secrets in American history as the prosecution and defense wrangled over which parts of the proceedings should be public and private.