Senators reach deal extending jobless benefits