Firms enjoy tax haven in bankrupt Ireland