58. Refund and settlement before hearing.

(i) any suit is dismissed as settled out of Court before any evidence has been recorded on the merits of the claim, or
(ii) any suit is compromised ending in a compromise decree before any evidence has been recorded on the merits of the claim, or
(iii) any appeal is disposed of before the commencement of hearing of such appeal, half the amount of court fees paid in respect of the claim or claims in the suit or appeal, as the case may be, shall be ordered by the Court to be refunded to the parties by whom the same have been respectively paid.