Applied patch from #9229 to allow common subgraphs of size 1; fixes #9229

git-svn-id: http://svn.boost.org/svn/boost/trunk@86236 b8fc166d-592f-0410-95f2-cb63ce0dd405