The Massachusetts Cannabis Control Commission and the state’s Department of Public Health have signed an agreement to share limited information about vaping illnesses.