The Defense Department efforts to purge civil rights figures from its website led to the deletion of a page about Black Civil War hero Sgt. William Carney.