Judge approves Chemtool settlement