Massachusetts mulls tax credit to offset medical device tax