Simplify bool_decoder.hh by pushing more to compile time