Reduction of ELM energy loss by pellet injection for ELM pacing