Butterfly Catastrophe for Fronts in a Three-Component Reaction--Diffusion System