The primary function of the Texas Rangers for the Republic of Texas was to —