Examining the oxygen isotope and magnetic field effect on phase separation in Sm0.5Sr0.5MnO3