Massive black hole binary evolution in gas-rich mergers