Its certainly unfortunate that judges cant/wont score offensive guards.
Personally I would have given it to Miguel 29-28, with the first and third rounds, and the second going to Johnson and mostly only for having a majority of top control for the round.
Johnson did very little with his top control and never actually did any damage while in top control and threatened very little with submissions while Torres constantly threatened Johnson off his back, with striking from his back as well.
Personally this is another fight where the flaws in MMA scoring were apparent yet again.
I will fault Torres for however for letting it stay on the ground for that long, knowing the probability of it going negatively for him on the scorecards. He should have used some of those escapes/failed subs to get back to the feet and try to score points there and try for some takedowns of his own.