Refactor URI injector to select the most ideal constructor based on argument match count.