0.1 uF caps on the supplies of each IC (nearby physically) might help with ICs blowing if motors are hotswitched