The U.S. Supreme Court’s session ended with a series of blockbuster cases that granted the president broad immunity, changed federal gun policy and kneecapped administrative agencies. And many of the biggest decisions fell along partisan lines.