President’s threat follows days of demonstrations over living standards