The UK has announced a plan that will transfer thousands of African migrants to Rwanda instead of allowing them to seek asylum in the UK.