Biden’s legacy in ruins after Trump triumph