San Joaquin River accord OKd by judge