United Parcel Service reported a first-quarter profit that beat market expectations and said it will cut 20,000 jobs as the parcel giant looks to trim costs.