All the angles in the solution are directed modulo π. The following notation is used throughout the proof:
2α, 2β, 2γ measures of the angles BAC, CBA, ACB, respectively;
2a, 2b, 2c lengths of the sides BC, CA, AB, respectively;
I incentre of the triangle ABC;
MA, MB, MC midpoints of the sides BC, CA, AB, respectively;
XY orthogonal projection of X on the line YI, for all X,Y∈{A,B,C};
ωA, ωB, ωC circumcircles of the triangles MABCCB, MBCAAC, MCABBA, respectively, centred at A′, B′, C′, respectively.
Since the angle AABB is right, the segments MCA=MCB=MCAB=c (see Fig. 3), so ∠MCABB=∠ABBMCC=∠CBAB=β; this means that the lines MCAB and BC are parallel, so AB lies on the line MBMC. So, (MA,MB,CA,CB), (MB,MC,AB,AC), (MC,MA,BC,BA) are quartets of collinear points.

Fig. 3
Let A′′ be the incentre of the triangle AMCMB (in other words, A′′ is the midpoint of AI). We show that A′′ lies on both ωB and ωC. For that, notice first that the points A,B,AB, and BA lie on the circle on diameter AB; hence ∠ABBAA=∠ABBA=β. Next, the points AB,AC,MB, and MC lie on a line parallel to BC, so ∠ABMCA′′=∠MBMCA′′=β=∠ABBAA. This means that A′′ lies on ωC. Similarly, A′′ lies on ωB.

Fig. 4
Let X be the second point of intersection of ωB and ωC. By the preceding, ∠MBXA′′=∠MBCAA′′=α and similarly ∠A′′XMC=α. This yields ∠MBXMC=∠MBXA′′+∠A′′XMC=2α=∠MBMAMC, which shows that X lies also on the circumcircle ω of the triangle MAMBMC, which is the nine-point circle of the triangle ABC. Denote the center of ω by O′.
Now the lines A′′X,MBX, and MCX are the radical axes of the circles ωB,ωC, and ω. Since XA′′ forms equal angles with MBX and MCX, the triangle O′B′C′ formed by the centres of these circles has equal angles at B′ and C′; therefore, O′B′=O′C′. A similar argument shows that O′B′=O′A′, and O′ is consequently the circumcentre of the triangle A′B′C′.