Learning to Plan with Optimistic Action Models