Armed pirates attacked a British-flagged chemical tanker in the Gulf of Aden on Sunday but were repulsed, the ship’s manager Stolt Tankers said.