Fix tail-recursive factorial example

The existing code fails to compile with "illegal guard expression".
Use `==` instead of `=`.