Magnetic separation of pyrite from coals