The משנה in בבא קמא (9:4, as explained by the רע״ב and קהתי) says that if I give wool to a dyer to dye red, and he dyes it black instead, then he must return the black wool to me, and I must pay him whichever of the following is least: the amount he paid to dye it black; the increase in value of the black wool over the undyed wool; the amount we originally made up that I'd pay him. (There's a dissenting view in the משנה, but we rule like the one I outlined.)
This seems to my lovely intellect as totally unreasonable: I, the owner of the wool, now must find a buyer for black wool! Who knows when I ever will? Especially if it's not wool but some rarer material with low demand, and especially if I must sell it before I can afford to buy more undyed material, and especially if I need the red material soon….
Do any commentaries, הלכה works, or other authorities deal with this issue? What do they say?