A Spanish judge on Tuesday lifted an arrest warrant for exiled former Catalan separatist leader Carles Puigdemont, paving the way for his return to Spain ahead of a general election in November.