Departure of special counsel Jack Smith comes days ahead of president-elect’s inauguration