The president is expected to sign the executive order Wednesday, according to people familiar with the matter.