MI, If you get terminated then you are not required to pay a single Rial to anybody, no body can ask a single Rial from a terminated gentleman.
Your gratuity , you try to get it cash from your HR dept.
Show your termination letter to the bank, only copy.
Then they won't deduct any amount from your account.
Bank has insurance of your loan already , insurance will pay the remaining amount to your bank, you will not pay any single Rial, remember it.

Then you go to airport with your ticket ......
Mon, 04.03.2019, 11.39 hrs