After you file

Correct, you will receive your full State refund.  The loan repayment only comes out of your Federal refund.