For the first time, Massachusetts prisons are providing a medication to treat opioid addiction to newly arriving inmates, as the state launches a groundbreaking program established by legislation passed last year. For now, the Department of Correction is providing just one of the two medications required under the law, which took effect Monday.