Initial messaging around shielding at the height of the Covid-19 pandemic could have been more nuanced, Northern Ireland’s chief medical officer has said.