The temporary grounding will affect about 171 planes worldwide, the Federal Aviation Administration said.