(In)Stability for the Blockchain: Deleveraging Spirals and Stablecoin Attacks