Can I deduct the buy and refinance cost? When I buy and refinance my main residence the same year (2017) and rent 1/3 of the house.