So then the Ukrainians should just roll over and stop trying to resist? Losing your country is a far more serious consequence then dealing with some UXO later.
There is also a difference between why we fight and how we fight. Fighting in self defence does not give a state the right to conduct a war in any way it chooses.
There are numerous ongoing conflicts in which we've seen states shed hard-won agreements on how wars should be fought. It's an incredibly dangerous trend which is leading us into a new era of horror.
Where would you put the limits on Ukraine's actions? What is beyond the pale?