US Supreme Court rules Trump can remain on 2024 primary ballots