Former federal judge rose to prominence with five-year independent investigation of sitting US president, later represented Trump in his own impeachment hearings