Use semigroup in StateWithError
Merge pull request #255 from twitter/fix-state-with-error

Use semigroup in StateWithError