Balancing the Causal Effects in Class-Incremental Learning