fix cross-module function inlining and argument use-count tracking

Order mismatch between tracking an use could cause a multiply-used
argument to be treated after inlining as a single-use argument.

Closes PR 14717
make installers: avoid dot-files (like ".gitignore") in installers

Closes PR 14716