Investigations of Flame-Retarded Thermoplastic Poly(imide–urethane)s with Intumescent Flame Retardants