Denbury’s stock inched up Thursday after Exxon Mobil agreed to $4.9 billion stock deal to buy the carbon-capture company for a relatively small premium.