bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'