Make sure call sites are adjusted after duplicating inlined local function

In Pass 2, local procedures may be inlined in more than one places,
and we copy IForm of the procedure to do so.  The copying may create
new $call node to other local procedures, but we had a bug that
those new $call nodes weren't registered to the corresponding
$lambda-calls.
Add a test for the inlining bug fix