I don’t think “Just World Theory” is appropriate in Catholic doctrine because of the social nature of sin. Just people often suffer the consequences of another’s injustice. Likewise, even natural “evils” may be visited on the just and unjust alike. Jesus pointed to the collapse of the tower of Siloe, noting that the people it fell on were not necessarily worse people than His audience. Further, as St. Robert Bellarmine mentions in one of his books, sometimes the elect are punished in this life to expiate their few sins, since they will be rewarded forever in the next for all their good, while the reprobate are rewarded in this life for what little good they do, since they will be punished for their sins forever in the next.
That being said, often bad choices do lead to bad results (that’s usually what makes them bad choices) or it is someone’s fault that they are suffering: “if any man will not work, neither let him eat.” Justice requires discernment into the facts of each case. In general, I think charity requires we give someone the benefit of the doubt in doubtful circumstances.
A special note should be made about civil authority, since the example in the article was in that context. Other injustices of a victim does not therefore make an unjust act committed against them just. This would amount to a private execution of vengeance. Public authority should punish the criminal according to his own demerits and his own crime, not the demerits of his victim.
It should also be noticed that imprudence is different from injustice. An imprudent choice may lead to a foreseeable and otherwise avoidable consequence, but that does not amount to the imprudent person strictly deserving that consequence. For example, walking through a high crime neighborhood at 2 AM playing on your cell phone will lead to your cellphone getting stolen, but that does not make the theft just. In common parlance we might say it is the victim’s “fault” for not making more prudent choices which would have mitigated or altogether eliminated the risk of the injustice, but this does not justify the theft or mean the victim committed an injustice himself.