Just drop the "java.naming.factory.url.pkgs" property and you should be good to go. Also I recommend using the more-standard URI scheme "remote+https" instead of "https-remoting".
Note that both of these things will continue to be supported though, so if you determine some reason that you don't want to make these changes, it's probably going to be fine.
Thank you David Lloyd. Your answer was correct for me and most helpful. I wish I could have found this in the WildFly 12 documentation somewhere.
You're right, the docs appear to be very out of date. I'm going to add this to my list for the next release.