A planet wouldn't "explode in a ball of light" unless it had been converted into energy somehow.
If it has not, then the total quantity of energy emitted can vary wildly: for example the light could be just the atmosphere igniting and reducing the world to a cinder. In that case the total energy reaching the Abhorrent would be negligible even at comparatively short distances.
But if it has, and your remark about gravitational effects makes me think so, then how much matter has become which energy? (Neutrinos would be the least dangerous, even if enough of them can still kill).
The worst case scenario has the whole mass of the planet turn into electromagnetic energy. 6 1012 tera-kilograms of m multiplied by 9 1016, yielding 4.5 1029 TJ of E. The Abhorrent can only absorb 100 of those, so I declare the energy release to be 4.5 1027 abhorrences (it's also about 0.005 foes).
To be able to survive, the Abhorrent must be outside a spherical shell with a surface area of 4.5 1027 km2, so that all that energy gets spread thin enough. This assumes that the energy release is omnidirectional and isotropic; if (as it's plausible) the energy release is greater where the Death Ray hits, then the ship has to keep farther away.
This means that the radius of the shell must be $\sqrt{\frac{4.5 \times10^{27}}{4\pi}}$ or 1.8*1013 kilometers, or about 1.9 light years. At that distance, any gravitational effects would be negligible.
This is the total deposited energy, not the radiated power intensity (which would be a much less spectacular figure). The reason the number is so large is that we're calculating an absorbing surface of one square kilometer. The normal Sun light, at 1500 W/m2 irradiance, would already deposit on it one and a half million kilojoules per second, i.e. 1.5 terajoules per second; which means that the Abhorrent's survivability in direct sunlight at 1 AU is little more than one minute, raising legitimate suspicions of vampirism against the Universal JBH Empire.
A supernova, around 200x times more powerful, has been estimated to be lethal to Earth from any distance below 30 light-years. There are actually some worries about IK Pegasi B, a potential "induced" supernova.
However, due to the limitations of its defensive shield, the Abhorrent needs to be able to perform a FTL escape (or, as Willk suggested, hide behind the Moon) in order to survive.
However, the energy release might be enough to also wipe way the Moon at a piddling 400,000 km distance. The energy from a 0,005 foes explosion is enough, if emitted as high-energy gamma rays, to photodisintegrate the Moon and presumably blast the Abhorrent, a few milliseconds after the gamma leak has crashed its shield and thoroughly sterilized it.
It turns out that I was wrong in fearing neutrinos, though. If that same energy went into neutrinos, the safe distance would be 2.3/2002 AU, or 8625 km (I took Randall Munroe's 2.3 AU and just compensated for the explosion being two hundred times weaker than a supernova). At a distance forty-four times greater, behind the Moon, the neutrino radiation dose would be only 2.6 milliSievert, not enough to cause damage, as the planet would softly and suddenly vanish away.