Sri Lankan PM Mahinda Rajapaksa resigns as protests intensify