Err on the side of caution. Draw the line as far as practically possible. We have a long history of underestimating the mental abilities of other animals. Heck, now we've got evidence of ants passing the mirror test.
There's a big difference in effort, and not much difference in outcome, between doing as the Jains do and simply endeavouring not to kill things on purpose.