Moldova replaces prosecutor general