Least‐squares refinement with the minimum number of parameters for structures containing rigid‐body groups of atoms