Most likely the SSD is failing - especially if you have the original STEC drive, this is quite likely. It will probably fail to boot at all in the near future. You can replace the SSD - Kingspec models are still available. I'd be reluctant to shell out any money to repair a Mini 9 some six years down the road.