Court blocks plan to force firing of illegal workers