A prosecutor investigating a dramatic attack broadcast live on a public TV channel last week was shot to death Wednesday in Guayaquil. Authorities have declared a state of emergency in the country, which has been rocked by a series of attacks in the wake of a notorious gang leader’s apparent weekend escape from prison.