refactor(util/lazy_list): polish lazy_list API

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