The Supreme Court ruled Monday that Donald Trump may claim immunity from criminal prosecution for some of the actions he took in the waning days of his presidency in a decision that will likely further delay a trial on the federal election subversion charges pending against him.