King & Spalding announced Monday it would no longer represent congressional Republicans in suits over same-sex marriage, winning applause from gay-rights advocates while costing the firm its chief appellate lawyer, Paul Clement, who resigned in protest.