A clash between government soldiers and extremists in the south of Jolo Island in the Philippines has taken the lives of eight people.