try looking up a post by slug if we got a 404

an attempt to solve the issue where permalinks that include dates sometimes do not match up between servers in different timezones.

see https://github.com/GigaOM/gigaom/issues/5121
Do you want move these two code blocks into other methods, and then the `template_redirect()` can be a lot smaller and the different logic separated a little more cleanly?