Payday loans can trap borrowers in cycles of debt, but there may be ways out for those who are struggling.