Samsung Elec flags stronger second quarter; Elliott welcomes share cancellation