Fix for Data.Bits

Proper types for the operations on Data.Bits plus some fixes in the backend that make Data.Bits compile again.