The change is an answer to the anger of many about the way tickets are sold on the country’s railway