To me it looks as if the glue just runs for the depth of the flywheel, and you could easily run a hacksaw across the gap and remove the glue without affecting either the magnet or the flywheel. However I might be missing something.
See the red ovals. That is where it looks as if a hacksaw would cut the glue without touching anything else?