[cfid-462] Fix inconsistency between Approval.equals() and Approval.hashcode()

Fixes [#41863321].

Change-Id: I6651306439d3cf38a6da51e03ba909cc610f6676