Isogeometric shape optimization of magnetic density separators