Shame on you Google!
I got the same problem just after upgrading from Android 6 to 7. Whenever I enabled Wifi, the GPS location icon turned on as well. The most annoying thing is that it would pop up a message asking if I wanted to improve location accuracy. Every. Single. Time. I. Connect...