GHC 7.8.3 doesn't produce warnings for the desired code, so remove workaround