A bitterly divided Senate confirmed Amy Coney Barrett as the 115th justice to the Supreme Court on Monday, elevating just the fifth woman to the court in its 231-year history and one who further cements its conservative shift — a legacy that will last even if Republicans lose power in next week’s elections.