Malta, which registered the tanker that broke up off France in December, is among five flags responsible for nearly half of all ships detained in the U.K.