Massachusetts’ teachers unions rally for fair contracts after tough years