Nick McCarthy will switch to Munster