Stability of the Halley cometosheath with resistivity and plasma motion