Fix typings of ExceptionGroup and BaseExceptionGroup
#9230
+355
−9
Merged