On thinking of religions as vestigial states