Cary firm with 20,000 employees to be taken private in $5.8B deal