Deal struck on Great Lakes ship pollution