Yes, I doubt a murderer would try to enforce the contract in court. They may have other ways to enforce however!
I seem to recall a case where a contract was voided because of illegality and it involved a prostitute hiring a carriage to ply her trade and the contract couldn't be enforced...