Rookie helps Mariners snap 6-game losing streak