How does superior workmanship affect same-kind setoff after pledged dirhams perish?

Kitab al-Rahn: Salam, Sarf, Third-party Custody and Fungible Collateral