(#16568) Try to load missing types by default

This patch adds a new setting `:ignoremissingtypes` that controls the
optimization introduced in 242692e. This setting defaults to `false` as the
behavior of this optimization is likely to confuse those who don't need it.