The man who investigated Trump resigns