Likely yes. There isn't one universal answer for situations like this, but often the non-viable bits can be at high risk of cancer.
For context, even in situations like this, people aren't "hermaphrodites" as you might imagine. Here's a different situation, but useful diagram

The streak gonad might have some bits of male tissue in it, but it's not a functional testis. A better mental picture is probably thinking of it as a tumor.
Even if it's not cancerous, it may cause issues. In this case, it's possible that they have bits of female tissue that would participate in the menstrual cycle, producing blood that has nowhere to go. That could justify removing the female tissue, but again it all depends on the actual case.