Under pressure from investor Carl Icahn, eBay will separate PayPal into a separate, publicly traded company.