Dependency Learning for Legal Judgment Prediction with a Unified Text-to-Text Transformer