If you can intentionally kill out of compassion, then fine, go ahead. But are you sure? Are you sure that what you think are friendliness and compassion are really friendliness and compassion? Are you sure that some subtle aversion and delusion have not surfaced in the mind?