I should think that visibility was not zero. However cloud cover on such tropical mountains is very dynamic, clouds can form and shift places literally in seconds. I can easily envision that they were visually aiming for a low pass over the ridge, which became overcast in the last seconds of the flight.
It seems like another lesson learnt the hard way...