Talaq for a false reason

Divorcing one’s wife thrice thinking she is his sister through breastfeeding and discovering this is untrue