Amazon is ending a program that allows Prime members to share their free shipping benefits with people who don’t have the same address.