Soft switching chopper with tail loss cancel circuit