A top federal prosecutor who presided over Trump's crackdown on violent crime in the nation's capital has been demoted.