dirstate: drop the last explicit `state` usage in the module

Closed Pulkit Goyal requested to merge topic/default/dirstate-update-API-pulkit into branch/default

The internal detail of the state bytes is not longer exposed to the dirstate layer.

Differential Revision: https://phab.mercurial-scm.org/D10977

Merge request reports