The village’s informal tribunal executes an outsider, revealing the savage logic at civilization’s edge