Joint session clears bill to clip CJP powers