Under a deal between the grocer and the fuel company, shoppers can apply rewards from both companies’ loyalty programs toward gas purchases.