Matching with Moral Hazard: Assigning Attorneys to Poor Defendants