Except let's remember, as Herzog pointed out, that P2 does indeed have cover from P1 according to RAW, so no AoO.
Now, I personally don't count corners as part of a border, but that's not RAW. Unfortunately, veg doesn't seem to want to comment about that.