The COVID-19 pandemic has been devastating for Brazil, but heavy government spending and monetary policy easing have helped bring some stability to the economy.