The networks of India’s biggest banks have struggled to keep pace with India’s mobile payments revolution, crashing again and again. The outages are exposing years of underinvestment in technology and a surprising lack of preparedness, analysts and executives say.