The 6-3 ruling, written by Chief Justice John Roberts Jr., struck down Section 304 of the 2002 federal Bipartisan Campaign Reform Act that limited post-election contributions to repay a candidate’s personal campaign loans.