Learning from Market Share when Consumers are Rationally Inattentive