A Senate report shows the company avoided paying $2.4 billion in taxes by shifting profits to an affiliate.