He died because of his golden hearted generosity, and that is what his friends will all remember him by. He never spoke an angry word, he never refused help to any that needed it, and he never discriminated between those worthy of his help and those who might be seeking to harm him.
I regret that there are those in the galaxy so anxious to randomly kill even the most benign and friendly person that they pass, but it seems we live in an age where even Corellian Security "CorSec" is just so bored that they idly kill people they see on other worlds. While it may not be keeping in-character for CorSec, perhaps the life and death of Mahavius Mekhet can serve as a reminder of why your security agents should be held to a higher code than simple pirates, killing whoever they wish simply because they are bored at their current lack of activities.