Arrangements for demagnetisation of heads