Diamondback Energy inked a deal to sell certain mineral and royalty interests to Viper Energy for $1 billion cash, plus equity.