An IntOpt with a default of True is invalid. I'm a little surprised
this doesn't fail a defaults check somewhere, but it needs to be
Looking at where it is used, it appears the boolean type is correct.
This just changes the opt type to BoolOpt to match.
NOTE(hberaud): Conflicts are due to a patch  not yet backported on
train and which added a new option on other branches.
(cherry picked from commit b8f8b17030e93f6fe64e986ebae1de4011f007d5)
(cherry picked from commit a0329a3f86e8bf275dd4e16c1f354911a6ff2eb6)
(cherry picked from commit 3bf9ba550454719f1d56dbbf8bccbabab11a16f6)