Pirates rally to stay alive in soccer playoffs