Solution:
Let H,G be the points of intersection of ME,MF, with AC,BC respectively. From the similarity of triangles △MHA and △MAE we get
MAMH=MEMA
thus, MA2=MH⋅ME
Similarly, from the similarity of triangles △MBG and △MFB we get
MFMB=MBMG
thus, MB2=MF⋅MG
Since MA=MB, from (1), (2), we have that the points E,H,G,F are concyclic.

Therefore, we get that ∠FEH=∠FEM=∠HGM. Also, the quadrilateral CHMG is cyclic, so ∠CMH=∠HGC. We have
∠FEH+∠CMH=∠HGM+∠HGC=90∘
Thus CM⊥EF. Now, from the cyclic quadrilaterals FIMB and EIMA, we get that ∠IFM=∠IBM and ∠IEM=∠IAM. Therefore, the triangles △EMF and △AIB are similar, so ∠AIB=∠EMF. Finally
∠AIB=∠AIM+∠MIB=∠AEM+∠MFB=∠CAB+∠CBA