When used as a demo unit yes it always takes losses. I have never used them myself really so dont know exactly how it works with having the 2 flags because if used to mine clear using the mine clear flag it should clear mines like any other unit but using the demo flag to clear mines it would take losses.
It was originally designed to clear obstacles as it would have IRL but as you stated there is really none to clear