This is the expected behavior. Having multiple volumes from one disc appear on the desktop causes confusion. To eject a disc that has multiple volumes appearing on the desktop, you must drag the icons for all of the disk volumes to the Trash. If you drag only the icon for one of the volumes the computer will not eject the disc.