Traff had orders from his star marshal that the library had to be destroyed. Nicosar himself had commanded this as one of his first edicts after coming to power; subject races had to understand that once they displeased the Emperor, nothing could prevent their punishment.