Anisotropic Heisenberg Magnet with Long-Range Interactions: Integrability and Phase Structure