[CP-SAT] clear the previous objective when minimizing or maximizing in the java API
[CP-SAT] clear the previous objective when minimizing or maximizing in the java API

or-tools/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,google/or-tools,or-tools/or-tools,google/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,google/or-tools