SAN FRANCISCO (Reuters) - Hewlett-Packard Co has settled a legal dispute over Oracle Corp's hiring of Mark Hurd, as the two companies moved to publicly mend fences and put the contentious issue behind them.