Fix minor documentation typo

Replace reference to `scan` in `scanM` documentation.