The butterfly defect: how globalization creates systemic risks, and what to do about it