Double-slit implementation of the minimal Deutsch algorithm