The High Court in London has ruled the British government's plan to send asylum seekers to Rwanda is legal.