Visa and Mastercard unveiled a revised settlement with merchants who accused them of overcharging credit card processing fees.