[Template-haskell] Internal type consistency of quoted expressions