Not so. He simply cast a whole bunch of demons out of a guy, the demons went into the swine, and the swine panicked and ran into the water and drowned themselves. That's not deliberate violence, it's an unexpected side effect, that's all. The swine might just have well run away from the water, after all.