I did finally manage to get a better fitting pair of pants, here’s what I did specifically to adjust for knock-knees on the back of the pattern – I also did this on the front to get the grain straight.  To judge the grain originally, I chalked the grainline on the back of the muslin to see it – you could also thread trace the grainline: