Marathon Petroleum closed a $21 billion deal with 7-Eleven to sell its gas stations to the convenience store chain.