The Boeing 737 MAX 9, which had a total of 167 passengers and six crew members on board at the time, was diverted to Chicago