The 32-year-old Doctor Who star has pulled out of the role "due to unforeseen circumstances".