Bahrain’s state oil company has declared force majeure on shipments following an attack that set its refinery ablaze, highlighting regional tensions.