A federal judge has nullified Massachusetts’ landmark Oil Spill Prevention Act, striking down regulations on oil shipping in Buzzards…