A plane strain problem in the theory of elastic materials with voids