NBC: Texas man dies in court moments before pleading to wife's murder