Change portal orientation preferences

i.e. when gate sizes match, make diagonal portals the lowest preference