Art. 17.23. SURETIES SEVERALLY BOUND. In all bail bonds taken under any provision of this Code, the sureties shall be severally bound. Where a surrender of the principal is made by one or more of them, all the sureties shall be considered discharged.