Rickard Rakell helps Anaheim end three-game losing streak