Change getSubPartElement(String) to ignore text icons (#14879).

The test for this change set will be included in the TestBench project,
since the API required by the test is not present here.

Change-Id: Ia31d4ba49dabdb74d81e5b9d23db7af809d96942