In a large bowl, add in dried beans, hamhock, onion chunk, bay leave, garlic and water to cover. Let sit for an hour before draining.To the Instant Pot (IP) add in oil and set saute mode for 6 minutes. Once oil is warm, add in sofrito, seasonings EXCEPT for the salt, and tomato sauce. Mix around and let cook for 3 minutes before adding in the drained bean mix.Allow the beans to get coated and now add the remaining ingredients. Mix, close lid and set to sealing. Place timer at 40 minutes on manual high pressure mode.Allow for a natural release by pressing cancel when the 40 minute timer goes off. Once depressurized, remove lid, stir and carefully taste the beans. Add salt to your liking.