Density compensation and stored energy recovery in resonant magnetic perturbation suppressed edge-localized mode H-mode plasmas using pellet fueling on EAST