EU leaders said President Donald Trump’s decision was made “unilaterally and without consultation”.