Reducing Catastrophic Forgetting in Modular Neural Networks by Dynamic Information Balancing