Rosenstein's departure ends a nearly two-year run defined by his appointment of Special Counsel Robert Mueller.