Oosthuizen will take two months out to rest and rehab series of injuries