Poland reinstates Supreme Court judges