WASHINGTON — The federal election-interference prosecution of Donald Trump ended without a jury verdict, closing one of the most consequential criminal cases ever brought against a former U.S. president while leaving behind a major Supreme Court ruling that reshaped the legal boundaries surrounding presidential immunity.