Use of an apparatus for separating magnetic pieces of material