In stunning reversal, protests leave Sri Lanka’s ruling dynasty teetering