Declarative memory is critical for sustained advantageous complex decision-making