Welcome to the forum.
These pedals are sensitive to switch type. The circuit has a couple of components to 'debounce' the switching noise, but this only works well if the switch has a sharp transition to on/off. If the switch is of an incorrect type it will not switch cleanly and can occasionally flip the pedal to a random state and not appear to switch and you need to stomp again to switch the pedal You say you fitted an original stomp button - was this directly from Roland (Boss)? or a part bought off Ebay claiming to be original? So, the starting point is to make sure the switch is original, otherwise you can have two problems together.
The actual switching flip-flop is a pair of transistors and does not involve the IC.
You say your pedal is completely dead when it fails - is there any background sound at all?
I find the best way to troubleshoot these pedals is to use an 'audio probe' along with the schematic. You need to establish how far the signal is getting - it may not be a switching problem at all as there are quite a few points where a component failure could result in signal loss.