Yahoo strikes deal with investor Carl Icahn