The original $400k on the old property should be deductible because the purpose of that money was to purchase a property which is now an investment.
The increase of another $400k (to a total of $800k) probably wouldn't be tax deductible. The purpose of that increase was to purchase a new...