Killing is an extreme answer to a problem.

It is such a final act that in dreams it can often represent our perception of the need for an act of violence.

In particular this may be against ourselves or a part of our personality that is no longer acceptable.

The impulse may not be correct, though some adjustment needs to be made.