Retirement tax questions

No you aren’t taxed twice.  You didn’t pay tax when you got the loan.  You are just replacing the loan amount.