A European Parliament committee has voted to lift Carles Puigdemont's immunity. It will now go to a vote before all MEPs next month.