Ofcom has strengthened guidance concerning politicians presenting news shows after the UK media regulator lost a court battle with GB News.