A High Court injunction has temporarily banned the UK government from concluding negotiations on the Chagos Islands deal.