Schools run by the Department of Defense are implementing sweeping bans that even affected the vice president’s memoir.