Bill published to reform Scottish personal bankruptcy