The government is fighting off challenges in several major terrorism cases and a raft of prisoners’ legal claims that it may have destroyed evidence.