Visa-MasterCard settlement follows long-running legal battle and gives merchants more flexibility on card acceptance.