Do not emit blatantly illformed apply expressions in core_inline

Code such as apply 'f'/1 () should not be emitted by the Core Erlang inliner.

Commit 1b8ad68361db59477013bf96e485d5293723ff42 added a test case
and correction in v3_core.