The president-elect has trashed an indictment facing the New York City mayor — and will soon replace the prosecutor handling the case.