fix(input): make checkbox ngTrueValue work with required

Fixes #5164 

The viewValue in a checkbox is always set to false (by default). Comparing to the trueValue is therefore incorrect.