Nigeria 'to release key militant'