Credit Interlinkages and Bankruptcy Avalanches in a Network Economy