Assaulting another officer is not a legal order. When an ICE agent does it, they are not acting on legal authority. They stop becoming a federal officer and legally become like any other armed assailant. So when they do it: arrest them.