The justices said they will consider overruling a landmark Supreme Court precedent that has limited the president’s ability to fire top officials at the agency.