Police have dropped a criminal investigation into a legal firm that left thousands of people with difficulties when it went bust.