Matter-wave solitons in an array of spin-orbit-coupled Bose-Einstein condensates