US investor Nelson Peltz has backed away from an aggressive takeover of Family Dollar Stores after a deal with the discount retailer.