Dozens of countries just agreed to shut pirate fishermen out of their ports. Here’s why.