As the death toll from Nepal’s massive earthquake passed 4,000 Monday, survivors of the disaster in the capital struggled to cope with shortages of electricity, gasoline, water, cash and sanitary facilities. Phone and Internet links remained spotty at best.