The U.S. Postal Service said Wednesday that it is ending discounts that shipping consolidators such as UPS and DHL use to get packages to the nation’s doorsteps, in a move meant to help the Postal Service slow losses but that could see the higher costs passed on to consumers.