Hillary Rodham Clinton expressed regret about a remark that brought up concern for Barack Obama’s safety.