A "mass casualty attack" was thwarted by Texas officials after learning a suspect allegedly made terroristic threats against police officers.