Judge: John Edwards has life-threatening condition