Mirror instability in the magnetosphere of comet Halley