It's equally reductive to ignore those progressive elements on account of certain elements of repression.
It doesn't make them less murderous. And it doesn't de-legitimize criticism. But reality doesn't offer perfect choices. Every government is flawed; most have redeeming values. We must balance the former against the latter. Armchair enthusiasts can imagine perfect options, but reality isn't that forgiving to decision makers.
Israel's unregulated spyware, bordering on terrorism, is an international issue. Its apartheid state is an international issue. But the freedoms it affords a large number of its citizens stands in sharp contrast to its neighbors. That, too, is of international interest. Acknowledging that is not a diversion and does not de-legitimize the criticism--it contextualists it.