A micromechanical perspective on the role of dislocations in selective dissolution