Alternatively, removing any line in /etc/init.d/wireguard that has ipv6_status also solves the problem.
/etc/init.d/wireguard
ipv6_status