Fix broken rewrite rules for fromIntegral and realToFrac. Fixes #192.