Philippines police chief resigns over deadly clash