The Royal and Ancient, which runs the British Open, said it wouldn’t hold the event at “a venue that does not admit women as members.”