The pilot of the plane, which was traveling from Jamaica and carrying 172 passengers on board, had reported damaged landing gear.