NBC: Sri Lankan president resigns; protesters abandon seized buildings with country in limbo