Heavy rains that began Monday night have left dozens dead and caused widespread destruction in southeastern Brazil, exposing a longstanding structural problem of housing in high-risk areas vulnerable to seasonal downpours.