You cannot read the distance an actor has to a certain faction. Imagine if I asked you how far you are away from the Democrats

Similarly, you can only tell an actor to
CODE
StartCombat [ActorID]
.
The only way to use the GetDistance function is also
CODE
GetDistance [ActorID]
.
I am not completely sure whether this will have the desired effect but you may want to try setting the
faction reaction to a very low value (e.g. by using
SetFactionReaction [factionID] [factionID] [value]). I haven't tried it, but I would assume that, providing the value is sufficiently low, members of those two factions will attack each other automatically on sight.