Nigerian soldiers jailed for life