That's what flanking and moving around cover is for.Or you could make a door close behind them so they don't backtrack. But at that point you're trying to compensate for flaws that system naturally has.
Also, indirect weapons like Grenades, Mortar, Bow & Arrow.