Pearson cutting 4,000 jobs as first-half sales decline