Implement the Redis 7 command FUNCTION RESTORE as specified at https://redis.io/commands/FUNCTION-RESTORE.