Texas Rangers investigate after local deputy shoots wanted man