Machine learning techniques in nested stochastic simulations for life insurance