Divers have plugged most of the leaks in a tanker carrying heavy fuel, which sank off the United Arab Emirates, the UAE coastguard said.