In our game last night we had a situation come up where we couldn't determine the direction a unit routs.
Here's the setup:

My Libyans have been flank charged by the Abomination. The Libyans are facing the short side of the table, with their table edge being towards the bottom of the pic. So the Abomination is between the Libyans and their table edge.
So Libyans fail their Rout check and the Abomination doesn't do any damage. They turn to face away from the enemy they are fighting:

Now the Libyans rout. So our first question is, do they turn back to their original facing and rout

or do they rout from their new facing (of away from an engaged enemy)?

Okay, next question: which direction do they rout? Here's what we found in the rules:
2.5 Rout Movement
After all free attacks and second rout checks, each unit routed this phase moves. (See 1.4.7.6). If, after this movement, the routing unit is still engaged with one or more enemy units, the routing unit is destroyed.
On the turn it routs from an engagement, a unit will move to maximize the space between it and the enemy unit(s) with which it was engaged.
and...
1.4.7.6 Routing Units
During your movement and command phase, any unit you fail to rally (1.3.2.5) takes a rout move as described below. Rout moves taken at other times, for example in the courage phase, follow these same rules.
Whenever a routing unit moves, it moves towards its owner’s table edge at full movement. You can’t invoke the Indirect Path rule or other voluntary movement rules for this move, so your unit will not avoid difficult terrain or friendly units. You must still observe mandatory movement rules like the Impossible Path rule.
Whenever you move a routing unit, you don’t pay for maneuvers; simply measure from the front center point of the routing unit to the location it is routing to, and pick up and move the routing unit.
It seems these two rules directly contradict each other in this case. For example, 1.4.7.6 says "Whenever a routing unit moves, it moves towards its owner’s table edge at full movement." while 2.5 says "On the turn it routs from an engagement, a unit will move to maximize the space between it and the enemy unit(s) with which it was engaged."
Unless I'm missing something, there's no way that the Libyans can simultaneously maximize the space between it and the enemy unit while at the same time move towards its table edge. Which one takes priority?
Is it rout away:

or is it rout towards your table edge using one of the two examples from above:

The next question that came up was that we couldn't find any reference to how units react to enemy units. I know I've read in there that you don't move in contact with enemy units, but I couldn't find it. So when I checked the reference in 1.4.7.6, I noticed the part that says: "You can’t invoke the Indirect Path rule or other voluntary movement rules for this move, so your unit will not avoid difficult terrain or friendly units. You must still observe mandatory movement rules like the Impossible Path rule."
So I looked up both rules:
1.4.7.2 Indirect Path
Sometimes the direct path to an enemy unit isn’t the fastest. This can happen because of other units (friendly or enemy) in the way, or because of difficult terrain that would slow the unit’s movement if it moved straight ahead. In this case, without spending a command action, you can choose whether the unit moves along the direct route (as far as possible, stopping at obstructing units) or the current fastest route.
Okay, so you invoke Indirect Path when there is (among other things) an enemy in the way. But you ignore Indirect Path for routing units. Onto Impossible Path:
1.4.7.3 Impossible Path
If the otherwise optimal path for a unit to take under orders is permanently impossible (most likely due to terrain) that unit must use the shortest clear path instead.
So no mention here of enemy units being part of the Impossible Path. I know its being pedantic, but there is actually no reference that we could find that says you move around enemy units when Routing. And I've been wrong about things as the editions have evolved before so I seriously don't know if this is an oversight or an intentional part of the rules.
And there is an argument that the unit does in fact ignore the enemy units when it routs, supported by this clause: "Whenever you move a routing unit, you don’t pay for maneuvers; simply measure from the front center point of the routing unit to the location it is routing to, and pick up and move the routing unit."
Which would result in:

I had always interpreted that as you ignore maneuvers in getting around enemy units, in something like so:

Finally, we had a question is about this statement: "If, after this movement, the routing unit is still engaged with one or more enemy units, the routing unit is destroyed." I'm assuming you have to meet the full qualifications for being engaged, correct? Meaning that a unit must be touching half of his side with half of your side. Or is this intended to be if any part is touching? Also, does a unit that has its rout move halted because an enemy unit is in the path of his rout count as being engaged?
So if either of these is the correct rout procedure:

Would that count as "engaged" and thus the Libyans are destroyed?
And what if the Libyans had their move halted by routing into an enemy unit:

Assume for a second this is the correct rout distance and the Libyans had just enough move to take them in contact but not enough to shoot that gap. Basically assume they only have 3.4" of space to run
while still moving towards their table edge before contact an enemy unit. Do the Libyans stop? Or are they counted as engaged and are picked up?
Thanks in advance!