Autonomous 3-D positioning of surgical instrument concerning compatibility with the eye surgical procedure