Electromagnetic metal separator