The Post Office is to cut about 100 jobs as part of plans to boost payouts to thousands of its subpostmasters.