Judge approves Jill Stein's plea deal for pipeline protest