Safety, 2 points for Team B.
Team B's inadvertent kick does not add new impetus. The impetus for the ball going into Team A's endzone is the kick, therefore Team A is responsible for the ball becoming dead behind it's own goalline - Safety.
The block is a just a touch of the scrimmage kick and not a bat, even if the block was a bat it would not add new impetus either since at the time of the block, the ball hadn't touched the ground yet.
8-5-1-a, 8-7-1, 8-7-2-a, 2-11-5, 2-16-1-d