Soto’s homer helps Nationals slow Phils, avoid 5-game sweep