Change policy for adding input to readline history.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>