Republican Sen. Jeff Sessions of Alabama was confirmed on Wednesday as President Trump’s attorney general, capping a bitter and racially charged nomination battle that crested with the procedural silencing of a leading Democrat, Sen. Elizabeth Warren of Massachusetts, who had criticized the Alabama senator from the Senate floor. Sessions survived a near-party-line vote, 52-47, the latest sign of the extreme partisanship at play as Trump strains to install his cabinet.