Solution:
a. Let us denote by O the circumcenter of ABC, and let us denote by α,β,γ the angles of ABC at vertices A,B,C, respectively.
The fundamental point is that triangles IAA1 and AIO are congruent. To prove this, observe that IA=AI since it is the same side, and IA1=AO by construction. It therefore suffices to prove that the angles included between these pairs of sides are equal.
The computation of these angles is delicate, since it depends on the configuration we are in, and more precisely on the position of O relative to lines AI and BI (there are thus four cases to examine). Let us consider the case, shown in the figure on the left, in which O lies on the same side of C with respect to both lines (the other cases, one of which is shown in the figure on the right, are treated in a substantially analogous manner). In this configuration, to compute ∠OAI it suffices to observe that ∠IAB=α/2 (because AI is a bisector) and ∠OAB=90∘−γ (because triangle AOB is isosceles on base AB and has vertex angle equal to 2γ, since central angles are twice the corresponding inscribed angles). By subtraction we then obtain that
∠OAI=∠OAB−∠IAB=90∘−γ−2α
For the computation of ∠A1IA recall that the sum of the interior angles of the (non-convex) quadrilateral AIEC must be 360∘, from which (here by ∠AIE we denote the angle of the quadrilateral, which is greater than 180∘)
∠AIE=360∘−∠CAI−∠IEC−∠ECA=360∘−2α−90∘−γ,
and therefore by subtraction
∠A1IA=∠AIE−180∘=360∘−2α−90∘−γ−180∘=90∘−2α−γ,
which completes the proof of the congruence.

Reasoning in the same way on the other side, we discover that triangles IBB1 and BIO are congruent. At this point, from the two congruences we deduce that
∠IA1P+∠IB1P=∠IA1A+∠IB1B=∠AOI+∠BOI=∠AOB=2γ.
Let us now consider quadrilateral A1PB1I, and observe that ∠A1IB1=∠DIE=180∘−γ (by the cyclicity of CDIE, which has two opposite right angles). By subtraction we then obtain that
∠APB=∠A1PB1=360∘−∠A1IB1−∠IA1P−∠IB1P=360∘−(180∘−γ)−2γ=180∘−γ,
and this shows that, in this configuration, the point P lies on the circumscribed circle of triangle ABC, on the opposite side of line AB from C.
In the configuration on the right the proof is analogous, but the computations are slightly different. In this case we will have that
∠OAI=∠IAB−∠OAB=2α−90∘+γ
and (denoting this time by ∠AIE the angle smaller than 180∘)
∠A1IA=180∘−∠AIE=180∘−(360∘−2α−90∘−γ)=2α+γ−90∘,
from which once again the congruence of triangles IAA1 and AIO.
From the congruence we deduce again that ∠IA1P=∠IA1A=∠AOI. Unlike before, reasoning on the other side we now obtain that
∠IB1P=180∘−∠IB1B=180∘−∠BOI,
from which
∠IA1P+∠IB1P=180∘−(∠BOI−∠AOI)=180∘−∠AOB=180∘−2γ.
Let us now consider again the (this time non-convex) quadrilateral A1IB1P. As before we have that ∠A1IB1=∠DIE=180∘−γ, and therefore ∠A1IB1=180∘+γ as a non-convex angle. By subtraction we then obtain that
∠APB=∠A1PB1=360∘−∠IA1P−∠IB1P−∠A1IB1=360∘−(180∘−2γ)−(180∘+γ)=γ,
and this shows that, in this configuration, the point P lies on the circumscribed circle of triangle ABC, on the same side of line AB as C.
b. The possible values of the perimeter of ABC are all those (strictly) between 2 and 3.
To prove this, let us first observe that P can coincide with C only when we are in a configuration like the one in the figure on the right. Moreover, the points A1,A,C must be collinear, which tells us that ∠A1AI=180∘−α/2, and consequently (because of the usual congruence) also ∠AIO=180∘−α/2. This implies that line IO is parallel to line AB, with I to the left of O. There also exists an analogous configuration in which A1 lies between A and C and the equality ∠A1AI=∠AIO=α/2 holds, which tells us that line IO is parallel to line AB with I to the right of O.
In any case, I and O are at the same distance from line AB. Now the distance of I equals r, that is, the radius of the inscribed circle, while the distance of O equals Rcosγ (this can be seen by observing that the isosceles triangle ABO can be decomposed into the union of two right triangles with angles at O equal to γ and hypotenuse of length R). The following equality must therefore hold
r=Rcosγ
Denoting by S the area and by p the semiperimeter, and recalling the well-known formulas
r=pS,cosγ=4Sabc,2aba2+b2−c2
we can express the previous relation as
8S2=p(a2+b2−c2).
If we now compute S using Heron's formula, and simplify a factor of p, we finally obtain that
(a+b−c)(b+c−a)(c+a−b)=c(a2+b2−c2),
which in the case c=1 reduces to
(a+b−1)(b+1−a)(1+a−b)=a2+b2−1.
Setting s=a+b and d=a−b, we can rewrite the equality in the form
2s2+d2−1=(s−1)(1−d)(1+d)=(s−1)(1−d2)
from which with simple algebraic steps we obtain that
d2=2s−1s(2−s).
Since d2≥0, from this relation it is evident that we must have s<2 (the case s=2 must also be excluded because it would lead to d=0, that is, to an equilateral triangle). On the other hand it is evident that we must also have s>1, because in every triangle the sum of the lengths of two sides is greater than the length of the third.
It remains to verify that for every 1<s<2 we obtain an admissible triangle. In this case the lengths of the two sides BC and CA are
a=2s+d,b=2s−d,
or vice versa. Are these the sides of a triangle? It suffices that each side be smaller than the sum of the other two. We already know that a+b>1, and it is obvious that a+1>b. It remains therefore only to verify that b+1>a, but this inequality reduces to d<1, from which with simple steps we again find the condition s>1.