Dariusz Wieczorek has defended his actions but says he is stepping down for the good of the ruling coalition.