[CoffeeScript] Fix auto indentation when returning an object containing ...

...a function

For #2807.
Still, I assume the type `}` is __not__ intended.