PM Nepal resigns, China says hopes for stability