Collapse identical exception blocks