Einsteins Struggles with Quantum Theory: A Reappraisal