Stability criteria for edge flute modes in the two-fluid regime