A rich twist on shepherd’s pie, swapping mashed potatoes for velvety polenta.