A landmark deal aims to end the pricing games that grossly inflate what you pay at the pharmacy.