Learning When to Advise Human Decision Makers