Philippines’ Duterte earned international infamy, praise at home