an american airlines boeing 727 flying from providence , r.i. , to raleigh , n.c. , with 83 passengers and a crew of seven aboard was diverted to logan international airport in boston after the hydraulic system that controlled the plane 's landing gear failed , officials said .