I would deduct the entire amount of interest. When you refinanced, you effectively bought your ex-wife's interest in the property, so I would treat as 100% of the loan having been used to purchase your house.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"