Thing is, the Empire had no way of knowing how much steam the Dominion does have left. Hindsight is 20/20, but at that point they had little to go on, and basically nothing from the Dominion territory (since the spy networks got eradicated). They could continue fighting, sure, but as far as they knew that did come with a potential risk of a total defeat.