Solution:
Let us denote by γ the inscribed circle of △ABC, and by γa and Ia the excircle opposite A and its center. The point E symmetric to the point D with respect to M is the point of tangency of γa with the side BC. The perpendicular ℓ1 from D to MI is the radical axis of the circle γ and the circle ω with diameter DE, while the perpendicular ℓ2 from AI is the radical axis of the circles γ and γa (because MD=ME). Also, the radical axis of the circles γa and ω is the perpendicular ℓ3 from E to MIa. The lines ℓ1,ℓ2 and ℓ3 intersect at the radical center S of the circles γ,γa,ω. On the other hand, it is known (from the "Great Problem") that MI∥AE and MIa∥AD hold, so the lines ℓ1 and ℓ3 contain the altitudes from D and E in the triangle ADE. It follows that S is the orthocenter of △ADE, and it lies on the altitude from the vertex A.

Second solution.
Let the perpendiculars from M and D to AI and MI, respectively, intersect at the point S, and let J be the point at which the line MI intersects the altitude from A in △ABC. It suffices to prove that AJ=ID. Indeed, then it will follow that AJDI is a parallelogram, so MS⊥DJ, so that D is the orthocenter of the triangle MSJ, and from this JS⊥MD, i.e. AS⊥BC.
This is computed directly. Let us denote by H and F, respectively, the feet of the altitude and the angle bisector from the vertex A, and a=BC,b=CA,c=AB. Then BF=b+cac, BD=2a−b+c and BH=2aa2−b2+c2, so FH=BF−BH=2a(b+c)∣b−c∣((b+c)2−a2), FD=BF−BD=2(b+c)∣b−c∣(b+c−a) and finally AHAJ=FHFD=a+b+ca=AHID.