Defending Deep Neural Networks against Backdoor Attacks via Module Switching