The Senate on Thursday passed a "compromise" version of legislation affecting debt collection practices in Massachusetts, and according to its sponsor, the bill has a shot at final passage thanks to industry representatives collaborating on the rewrite.