It's a version of reductio ad absurdum. Which means just what it seems to mean.