There are only a few in Konoha that can match Itachi's skills. You make it seem as if extincting the Uchiha race was the only option. The 3rd was the strongest in the village, he actually advocated against this plan. So something else could have definitely happened.

Hence, there "is" always another solution.