The Beverly Hills estate had been on and off the market for years, and was recently asking $31.5 million.