Gunman who killed 23 in racist attack at Texas Walmart offered plea deal to avoid death penalty.