Sleep Number files for bankruptcy, inks merger deal