8148930: Incorrect erasure of exceptions in override-equivalent dual interface implSummary: Before computing intersection of thrown types, javac must make sure type variables come from the same set.Reviewed-by: mcimadamore