Hi,
I am not sure there is anything wrong with the drive itself. I highly doubt that you have even come close to the MTBF for the drive. Yes, it may have started to fail, but that may not be the case. Boot Camp can sometimes fail to restore the drive after removing the install.
-Do you have a backup of your data from the Mac partition?
-You mentioned you tried to resize it, but did you try to erase it?
There is a procedure to setup a new/replacement drive:
-Physically install the drive - be VERY careful if you don't have experience, as internal components can easily be damaged
-You will need to partition it before you can install OS X/macOS
-You can create a USB installer on a flash drive, using an app like
DiskMaker X
-There isn't any official Apple media for purchase that has an OS X 10.11 installer - that is technically an illegal copy, as versions of OS X since Lion 10.7 have been only available through the App Store
C