Fixes #322: `Functor` ambiguity in `OptionT` and `IdT`

Cherry-picking 0fef6e5