A few years ago, El Tunco beach in El Salvador was crawling with gang members who robbed and extorted people at will.