Perrigo to split off generic drugs unit