Ex-wife ordered to pay £39,000 for IVF trick