Proverb that means "Even something done completely wrong might yield a slightly good result (but that doesn't mean it should be done)"
You look as if you’ve lost a pound and found sixpence. (UK)
It covers the sacrificial or loss side of the question, reflects an inadequate compensation for the previous state, whilst reflecting that some compensation has been met.