In major win for Trump, high court rules he has sweeping immunity for acts while in office