Weeks after government opponent elected as IBA head, legislation would hand its seats on politically fraught judge-selecting panel to a new body controlled by the government