A Novel Statistical Method for Measuring the Temperature–Density Relation in the IGM Using the b–NH i Distribution of Absorbers in the Lyα Forest