Ruling coalition agrees on changes to austerity package