PHP – removing unwanted XML from string