A legal loophole has enabled years of environmental damage by global oil companies in Nigeria