Adding refac_all and fixing bug in refac_unreferenced_assign