dhcp: Remove unused template.
dhcp: Do not calculate ipv4_network in dhcp class

We are calculating all network values in the mesh type now.
So no need to determine it here again.