Supernova: Much better vs Gremlin, Beast; Stable knockback; Slightly better vs Fiend, Slime (balanced by shock on Polaris)
Polaris: Much better vs Constructs, undead; Shock can prevent enemy attacks; Shock can prevent the gun's own knockback.
Personally, I prefer Polaris. Undead and constructs are already easy targets to guns, and beasts and gremlins are harder to hit, so you're likely to use a sword anyways. As long as you're carrying two of those swords, not being able to use your gun on something won't cripple you.