Add pred versions of list.filter_map_corresponding.

library/list.m:
    Add versions of the 2 and 3 argument versions of filter_map_corresponding
    that take a semidet pred, not a semidet func, since semidet preds are
    cleaner than semidet funcs.