Simplify a null check in TemplateParameterDeduction.cs. It's already tested for null in the first if statement branch.