Militant attacks cutting oil production