Sri Lanka extends emergency