Man, who discovered ex-wife was cheating, freed from parental duties after DNA shows he is not the father