This could be an issue (where you cannot deduct the interest as home mortgage interest nor use tracing to apply the loan to the rental property).
I'm going to page @AmeliesUncle.
Just to clarify, you "refinanced" your existing mortgage, and your new mortgage now includes BOTH the prior mortgage amount PLUS the 'cash out' that you paid off the rental, right?