Statistics for Calibrating The Cepheid Period-Luminosity Relation From The Infrared Surface Brightness Technique II. The Effect Of Metallicity And The Distance To The LMC