Once you pay the money back into the loan there shouldn't be any tax issues. Redrawing the money again will be treated as a new loan for tax purposes so deductibility will depend on how this money is used and what for.
Why are you keeping $1000 out? This could cause the loan to be a mixed...