Connacht handed Heineken Cup berth