Gunmen attacked a military outpost at daybreak in Pigkawayan, a farming town in Cotabato province, about 160 kilometers (100 miles) from Marawi city where fighters linked to the Daesh (Islamic State) group have been battling troops for a month.