a) Let T be the second intersection of (BDE) and (CDF). We have BF=CE and
∠TED=∠TBD,∠TCD=∠TFD
so two triangles TCE and TFB are congruent. From this it is easy to obtain that TBE and TCF are isosceles triangles at T and they are similar.

It implies that T, I and M are collinear; T, J and N are collinear. Note that TMTI=TNTJ so MN is parallel to IJ.
b) Let X, Y be the midpoints of CE, BF and ℓ be the radical axis of the circles with diameter BF and CE. Two altitudes BX′ and CY′ of triangle ABC intersect at orthocenter S.
We will prove that HK passes through a fixed point S by showing that these three points lie on ℓ. Indeed, we see that MX is the midline of triangle EBC, so MX∥BC, similarly, we have NY∥BC so MX∥NY. Similarly, we also have MY∥NX so MYNX is a parallelogram, so K is the midpoint of XY. From there, notice that CE=BF then
PK/(BF)=KY2−BY2=KX2−CX2=PK/(CE),
which implies K∈ℓ.

Besides, we have BCX′Y′ is a cyclic quadrilateral so
PS/(BF)=SX′⋅SB=SY′⋅SC=PS/(CE),
hence S∈ℓ. Similarly, we can point out that H lies on ℓ, thus HK passes through a fixed point S.