handle duplicate class definition errors during module classloading

Per BZ https://bugs.eclipse.org/bugs/show_bug.cgi?id=424950
Signed-off-by: Jon Keys <jon.keys@gmail.com>