Deal reached on payroll tax cut extension