Yeah....I must've practiced that thing 15 times before I took it.
The key is to resist the urge to use all of your energy at once since the orb grows when it's not taking damage. Instead, hit it a bunch of times in short bursts, and always conserve enough energy to dash through those little maggots, and they'll replenish your energy in return. I also had better luck taking the widest path around the stage, as the enemy AI seems to have a harder time keeping up with you.
All this. Pick a direction and run either counter-or-clockwise around the outside of the blocks the entire time. Only dump all your energy when you're approaching an energy orb, otherwise just get ready to void dash whenever a maggot latches onto you while continuing to strafe and shoot down to about half your energy meter.