Fix implementation of Prelude.Applicative.when