There had been "serious irregularities" in the appointment of judges to Poland's Constitutional Tribunal.