Philippine President Rodrigo Duterte makes a surprise visit to a military camp close to a city where Islamic State group-inspired militants are battling security forces.