The US Senate votes to confirm the president’s nominee, Brett Kavanaugh, after weeks of rancour.