Yeah this is a terrible defence. Anyway, your argument presupposes that men and women are the same and therefore deserve everything identically.
Which is dumb and wrong.
The odds of disabilities increase exponentially if there are multiple generations of cousin marriage, which is the problem.
Its not morally wrong. The ruler is allowed to make something that is mubah illegal.