Texas prosecutor says Walmart gunman who killed 23 people in racist attack offered plea deal to avoid the death penalty.