Drugmakers including Purdue Pharma paid pharmacy benefit managers not to restrict painkiller prescriptions, a New York Times investigation found.