Rights groups have said tens of thousands were killed in his antidrug campaign while he was the president of the Philippines.