Declare type of deduceBinaryTypes.

GHC fails to deduce its type with some options (e.g. -XGADTs).