"Spirit" here is the Holy Spirit of Yahweh who compels or motivates the person. See how you translated this in [Isaiah 11:2](../11/02.md) or in [Isaiah 42:1](../42/01.md).
These two phrases mean the same thing. They state that God will certainly give freedom to captives. (See: [[rc://en/ta/man/translate/figs-parallelism]])