PM Mahinda Rajapaksa resigns after months of anti-govt agitation leading to violence and chaos