replace usage of `Either` by `\/` in `Task`

Review by @pchiusano. Tests still pass.