EU parliament ratifies deal with Moldova