Complex sentence: In addition to an overall cap, the H-1B also had caps per country, which could lead to situations in which the caps for some countries went unfilled and those of other countries were oversubscribed.
Split into simpler sentences: In addition to an overall cap, the H-1B also had per-country caps. This could lead to situations where the caps for some countries went unfilled while those of other countries were oversubscribed.