wt-status.c: rework the way changes to the index and work tree are summarized