German utility RWE AG has revised the terms of its deal to sell oil and gas unit RWE Dea AG to Russian investors, trimming the price to €5 billion ($5.8 billion) and inserting a clause protecting the U.K. operations from potential sanctions on the buyers.