The impasse over the security legislation threatened passage of the country 's budget and a one-year extension of its troop deployment in Iraq .