Fixes _rebuild_dict to give the correct index in the case of duplicate values.
Can't show this merge request because the source branch bitbucket/declined-pr-217 is missing from project openpyxl/openpyxl. Close this merge request or update the source branch.