Trout’s 3-run homer proves the difference in 5-4 win over Rangers