An American Airlines Boeing 777 carrying more than 280 people was forced to divert to New York's JFK airport after a lavatory malfunction left only two toilets working on board