Preserving Diagnostic Features in Compressed Physiological Data Using Persistent Homology