Robust SDE-Based Variational Formulations for Solving Linear PDEs via Deep Learning