Argentina's congress passed a controversial pension law on Tuesday, after a vote delayed by violent protests in the capital Buenos Aires.