Three‐Phase Fractional‐Flow Theory of Foam‐Oil Displacement in Porous Media With Multiple Steady States