Texas death row inmate with 40-year mental illness history ruled not competent to be executed