Remove CChainParams::NetworkID()

Continues #4801 (and #3823 #3824 #4333).

my initial version of the rpc flag changed the behaviour of regtest as suggested here, but it wasn't coupled with the gui flag.