Twins end nine-game skid, beat Seattle