Defect-mediated stability: an effective hydrodynamic theory of spatiotemporal chaos