Philippines former President Rodrigo Duterte denounces legality after his arrest