On the strategy map there is an undo button. Maybe in a skirmish the sell icon could be turned into a menu, so it would take 2 clicks to sell a building, or a ctrl-click, or something.