Eh, been about a month since this thread has seen activity, but I just wanted to note:
ApplyTargettedBuffToSelfNoRange
Change it to ApplyTargettedBuffToSelf and enter a range value accounting for the average distance between wells and the desired reach?
It's more sensible that it be range limited than phase line limited anyway.
This method does work. You gotta specify some huge ranges, though. With default map size settings (Star radius 100, scale 25k), just to get it to fire 1/4 of the way across the map (50 units), you're looking at a range of ~1.25 mil. I've tested that it will allow a range of up to (at least, did not test further) 1 billion (at default settings, you're looking at 40k map units) without issue/crash.
For me, personally, this is a good solution. I typically play VR and use their cannon quite regularly to get my fleet behind enemy lines (so don't want to convert all cannons to something else), but likewise, am annoyed by Tech's cannon. However, I did find a good semi-counter to it. Build a starbase and give it enforced loyalty. At least that way I don't have to recolonize and redevelop the planet every time. I just lose some tax income.