I agree. Prosecutors serve at the President's pleasure - if he wants to remove any or all, that is his prerogative.
But by resigning, Alberto's Chief of Staff is essentially admitting wrongdoing. I just don't get it. Dumping blood in the water won't exactly discourage the sharks.