fix #7921 (show of function-declaration expression for operators)

As discussed in #7921, `Expr(:function, :(==(a, b)), Expr(:block,:(return a == b)))` now prints as
```
:(function ==(a,b)
        return a == b
    end)
```