You will not be taxed twice on the withdrawal. You will have to pay the tax on the distribution now (you should receive a 1099-R), but when you sell the shares, you will have basis on the amount you are purchasing the shares for so you will only pay tax on the gain. Unfortunately, there are no additional write-offs available for this transaction.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"