Moved around `#-}` ending RULES blocks to get Vector to build

This problem exists on at least 0.10.9.1, 0.10.9.0, 0.10, 0.9

The ending `#-}` of a RULES block would cause an error if it was on a new line
by itself. In these cases I moved it up to the next non empty line.

Combining #ifdef in a rules block caused additional problems.
An error was caused if the RUlES block ended with

    #endif #-}

In these cases I copied `#-}` into each branch of the #ifdef.

os: mac osx 10.9.2

The problem was present with the latest command line tools from Apple:
    Command line developer tools for OS X Mavericks 5.1.0.0

and an unknown version that I had before updating to the most recent.

$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.6.3

$ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library

or with

$cabal --version
cabal-install version 1.18.0.3
using version 1.18.1.2 of the Cabal library