Hours after a Taliban spokesman said lawmakers would be considered to have abandoned Islam if they opposed the Islamic law deal , the National Assembly unanimously approved the resolution aimed at President Asif Ali Zardari--though at least one party boycotted .