Squish: Let ensureChecked() handle tristate checkboxes

Change-Id: Iecb18400512ec6525757b442cf3b984d22302009
Reviewed-by: Christian Stenger <christian.stenger@digia.com>