Photos: Astros snap losing streak, beat Rangers 8-4