The optimal bankruptcy rule in a trading economy using fiat money