Misinformation is being “whipped up” over asylum and immigration cases in relation to international human rights law, the Government’s top legal adviser has said.