Mal probably didn't feel especially good about it either, but it does enable the crew to bring the man chiefly responsible for their murder to something like justice, ( not to mention start the ball rolling on doing the same for thirty million more innocent victims) so there is that.