Another possible way, would be to treat all hacking outside of the planet you are on, as already completed for counter hack responce.
How this would work.
Lets stay you have 100 Hacking points left, and you are hacking a fabs and an Advanced Factory. For this the Fab would be 100, and the AF would be 150.
On world A, you would get a responce as if you have -50 HP (100 you have - 150 for hacking on other world = -50 )
On world B, the AV, you would get a responce as if you have 0 HP left. (100 you have, -100 for hacking on the other world = 0 )
So if you hack one world at a time, the AI does not care that much. If you try and hack several worlds at the same time, you either need a lot of hacking points, or the AI will bring on the pain.