The EU fails to meet its goal of relocating 40,000 refugees after facing resistance from some countries.