This extension can help you to disable compare products functionality in Magento.