(CNN) -- Yemeni President Abdu Rabu Mansour Hadi dismissed the government Tuesday and agreed to a series of economic reforms, seeking to end weeks of tense protests in the capital, Sanaa.