Massachusetts attorney general settles with CVS on prescription drug pricing