EU parliament threatens legal action amid row over Ukraine aid