April 23 (Reuters) - International Business Machines (IBM.N), opens new tab is nearing a deal to buy cloud software provider HashiCorp (HCP.O) , opens new tab, according to a person familiar with the matter. Hashicorp’s stock surged 24%, giving it a market value of $6.1 billion, after the Wall Street Journal first reported the talks.