Improving DNN Modularization via Activation-Driven Training