The U.K. competition regulator said it could approve Synopsys’s $35 billion purchase of Ansys after the companies offered to ...