Philippine offensive kills 8 militants, wounds commander