A fifth of Nigerian output capacity is shut down because of militant attacks.