NBC: An Oklahoma judge who sent more than 500 texts during a murder trial resigns