High pressure magnetic transition in pyrrhotite and impact demagnetization on Mars