Targets recent settlement shows that cyber breeches can take years to resolve and are costly.