Fix bugs with orthogonal pseudo targets for path search.

This change fixes several problems with the pseudo targets introduced
during orthogonal path aStar search to give a more accurate heauristic
when there are internal points in a shape with effect targets on its
boundary:
 -  A problem where the fake shape center was added as one of these targets.
 -  A problem where the displacement of each effective target was not
    added to the cost estimate, so points with differing displacements
    were not comapared fairly.
 -  A problem where count these
Fix bugs with orthogonal pseudo targets for path search.

This change fixes several problems with the pseudo targets introduced
during orthogonal path aStar search to give a more accurate heauristic
when there are internal points in a shape with effect targets on its
boundary:
 -  A problem where the fake shape center was added as one of these targets.
 -  A problem where the displacement of each effective target was not
    added to the cost estimate, so points with differing displacements
    were not comapared fairly.
 -  A problem where the stage from the pseudo cost tragets to the real
    target had the wrong penalty.
Fix a bug in penalty rerouting with connection pins.

Routes with connection pins included an extra segment connecting to a
fake centre point of the shape.  This caused fixed-shared paths not to
be recognised correctly.