You can't really fix overcooked mushy beans. They won't be good to make a bean salad but will work just fine in a soup or just make Instant Pot refried beans with them.