The deal involved Venezuela taking men that the US President Donald Trump’s administration had sent to El Salvador.