Blast kills 10 as Philippine president visits hometown