I don't think anyone in the ruling outside of Sotomayor implies that murdering political rivals would fall under an official duty of the president as outlined in the constitution.
I disagree, since a good many people seem ready to accept that Trump trying to overturn the results of a free and fair election (which in my book is pretty much on par with murdering political rivals since the point of murdering a rival is so that they don't get elected), is an "official duty".