ProPublica and The Texas Tribune found that the attorney general may have broken state law