This has been discussed MANY times, and yes they basically let a species die because of racist pseudoscientific reasons.
Trek writes don't understand evolution.
Another example of the monstrousness of the PD as well even though this was technically before the PD.
A true Star Trek low.
I've never re-watched this episode and don't plan to either.