foldLeftM stack overflows on Set #866

Signed-off-by: Mark <m4farrel@uwaterloo.ca>