Front dynamics during diffusion-limited corrosion of ramified electrodeposits