Peterborough’s New Hampshire Ball Bearings sued two companies it contracted after an environmental barrier they constructed in 2014 failed to reduce groundwater contaminants in the South Well Superfund Site in Peterborough by the standards specified.