Fix inconsistencies in CheckBox clear and isEmpty (#14755)

Change-Id: I566257d3a4db15973f76a5a70adb095bd7203918