Fix static directory redirect for root mount point

This fixes an issues where when the `static` middleware is mounted and the `redirect` option is set (which is the default), accessing the root mount point without a trailing stash doesn't correctly respond with a redirect.

Fixes #445