Ruling made possible by 3 court appointees of former President Donald Trump and came a month after the stunning leak of a draft opinion indicating the court was prepared to take this momentous step