Philippine President Rodrigo Duterte has asked Congress to extend martial law in the southern island of Mindanao until the end of the year to crush rebels inspired by the Islamic State militant group, his spokesman says.