Nationals scrap out 4-3 win over Rockies