PALO ALTO -- In a victory for Hewlett-Packard, the tech giant said Monday it has tentatively reached a settlement in a federal shareholder lawsuit over its ill-fated purchase of British software company Autonomy, which absolves HP's executives of wrongdoing.