Pfizer and the city of Chicago have hammered out an agreement on painkiller marketing. The agreement — which publicly codifies Pfizer’s internal rules — could potentially be used as a model for other drugmakers selling the highly addictive opioid drugs.