Complexity of Symbolic Representation in Working Memory of Transformer Correlates with the Complexity of a Task