Textinput: Only _destroy() clearButton when present

Fixes gh-7567
This test does not really make sense it cant possibly run AND evaluate to true because there will be a failure because of the error being thrown.