Python Remove Text After Substring Contains