Actually, you're mistaken. I addressed your central objection, to wit, that this was a "long, agonizing death." It was nothing of the kind. He was dispatched quickly and we have no idea whether the spasms were painful or merely reflexive.
I believe the requirements of the law were satisfied, and your concerns about due process are nonsense.