Diversifed agrees to plug aging wells