All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Praise be to Allah who blessed you and enabled you to make repentance. We supplicate Allah to grant you steadfastness on the right path.
If you can pay the entire installments at once, then you have to do so since the bank drops its interest if the installments are paid earlier. Trying to get rid of Riba (usury or interest) is an obligation. If you cannot pay them without interest, then you may pay them with interest since you are forced to pay it (the interest). If you are compelled, then you may take time to avoid any harm since the Sharee’ah does not approve any harm. There is a general ruling in the Sharee’ah that reads: "There should be no harm nor reciprocal harm."
Allah knows best.