Ecuador president, indigenous leaders reach deal to end protests that left 7 dead